extern void scan_tree(const char *path, repo_config_fn fn);