/* * Discovery of repositories on disk, so that an administrator can point cgit * at a directory instead of naming every repository in cgitrc. The tree below * that directory is walked for bare repositories and working trees, or when a * project list is configured only the paths it names are visited. Every * repository found is added to the shared repository list under its path * relative to the root of the scan. */ #ifndef CGIT_SCAN_TREE_H #define CGIT_SCAN_TREE_H extern void scan_projects(const char *path, const char *projectsfile); extern void scan_tree(const char *path); #endif // CGIT_SCAN_TREE_H