/** * Create a new resolver for the given path. * * @param basePath * the base path all repositories are rooted under. * @param exportAll * if true, exports all repositories, ignoring the check for the * {@code git-daemon-export-ok} files. */ public FileResolver(File basePath, boolean exportAll) { this(); exportDirectory(basePath); setExportAll(exportAll); }
/** * Create a new resolver for the given path. * * @param basePath * the base path all repositories are rooted under. * @param exportAll * if true, exports all repositories, ignoring the check for the * {@code git-daemon-export-ok} files. */ public FileResolver(File basePath, boolean exportAll) { this(); exportDirectory(basePath); setExportAll(exportAll); }
/** * Create a new resolver for the given path. * * @param basePath * the base path all repositories are rooted under. * @param exportAll * if true, exports all repositories, ignoring the check for the * {@code git-daemon-export-ok} files. */ public FileResolver(final File basePath, final boolean exportAll) { this(); exportDirectory(basePath); setExportAll(exportAll); }
resolver.exportDirectory(f); resolver.setExportAll(exportAll);