blob: e29f8bf866aaa9dd76e1f76f2b10f1675ad7c671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * 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_tree(const char *path);

#endif // CGIT_SCAN_TREE_H