/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | HistoryCache.java | 88 * Check if the specified directory is present in the cache. 89 * @param directory the directory to check 90 * @param repository the repository in which the directory is stored 91 * @return {@code true} if the directory is in the cache, {@code false} 94 boolean hasCacheForDirectory(File directory, Repository repository) argument 110 * specified directory. 112 * @param directory which directory to fetch modification times for 113 * @param repository the repository in which the directory live 116 getLastModifiedTimes( File directory, Repository repository) argument [all...] |
H A D | BazaarRepository.java | 107 File directory = new File(directoryName); 115 process = Runtime.getRuntime().exec(argv, null, directory); 217 File directory = new File(getDirectoryName()); 223 Executor executor = new Executor(cmd, directory); 232 executor = new Executor(cmd, directory); 294 * @param directory Directory where we list tags 297 protected void buildTagList(File directory) { argument 304 pb.directory(directory); 353 File directory [all...] |
H A D | HistoryGuru.java | 252 * @param parent The directory containing the file 268 * Does this directory contain files with source control information? 270 * @param file The name of the directory 271 * @return true if the files in this directory have associated revision 309 * specified directory. 311 * @param directory the directory whose files to check 316 public Map<String, Date> getLastModifiedTimes(File directory) argument 318 Repository repository = getRepository(directory); 320 return historyCache.getLastModifiedTimes(directory, repositor [all...] |
H A D | FileHistoryCache.java | 230 "Unable to create cache directory '" + dir + "'."); 316 * Store history for the whole repository in directory hierarchy resembling 347 * history/log command executed for top-level directory of the repo 427 // mkdirs() if there are multiple renamed files from single directory 435 "Unable to create cache directory ' {0} '.", dir); 510 // history information on the directory may change if a file in 511 // a sub-directory change. This will cause us to present a stale 512 // history log until a the current directory is updated and 537 * Check if the directory is in the cache. 538 * @param directory th 542 hasCacheForDirectory(File directory, Repository repository) argument 640 getLastModifiedTimes( File directory, Repository repository) argument [all...] |
H A D | GitRepository.java | 115 File directory = new File(directoryName); 116 Executor exec = new Executor(cmd, directory); 248 File directory = new File(directoryName); 259 process = Runtime.getRuntime().exec(argv, null, directory); 275 process = Runtime.getRuntime().exec(argv, null, directory); 363 File directory = new File(directoryName); 364 exec = new Executor(cmd, directory); 417 File directory = new File(getDirectoryName()); 424 Executor executor = new Executor(cmd, directory); 497 private TagEntry buildTagEntry(File directory, Strin argument 551 buildTagList(File directory) argument [all...] |
H A D | MercurialRepository.java | 140 * file or directory. 142 * @param file The file or directory to retrieve history for 210 File directory = new File(directoryName); 223 process = Runtime.getRuntime().exec(argv, null, directory); 430 pb.directory(file.getParentFile()); 505 File directory = new File(directoryName); 511 Executor executor = new Executor(cmd, directory); 521 executor = new Executor(cmd, directory); 600 protected void buildTagList(File directory) { argument 607 pb.directory(director [all...] |
H A D | Repository.java | 74 * Get the history log for the specified file or directory. 165 * @param parent the name of the directory containing the file 245 * @param directory 247 protected void buildTagList(File directory) { argument 291 // If we don't have a directory parser, we can't create the cache 302 File directory = new File(getDirectoryName()); 306 history = getHistory(directory, sinceRevision); 324 history = getHistory(directory); 353 * @return true if this is the correct repository for this file/directory.
|
H A D | JDBCHistoryCache.java | 183 * whole directory at once are supported. 452 * Get the path of a file relative to the specified root directory. 456 * @param rootPath the canonical path of the root directory 625 // Fetch history for all files under this directory. 1110 * Build maps from directory names and file names to their respective 1115 * @param history the history to get the file and directory names from 1117 * @param dirMap a map which will be filled with directory names and ids 1189 * @param ps statement that inserts a directory into the DIRECTORY table. 1191 * directory, and (3) the id to use for the directory 1273 getLastModifiedTimes( File directory, Repository repository) argument 1290 getLastModifiedTimesForAllFiles( File directory, Repository repository) argument [all...] |
/opengrok/test/org/opensolaris/opengrok/web/ |
H A D | DirectoryListingTest.java | 50 private File directory; field in class:DirectoryListingTest 66 File file = new File(directory, name); 114 directory = FileUtilities.createTemporaryDirectory("directory"); 127 if (directory != null && directory.exists()) { 128 removeDirectory(directory); 225 * Test directory listing 235 instance.listTo("ctx", directory, out, directory [all...] |
/opengrok/src/org/opensolaris/opengrok/authorization/ |
H A D | AuthorizationPluginClassLoader.java | 66 private final File directory; field in class:AuthorizationPluginClassLoader 68 public AuthorizationPluginClassLoader(File directory) { argument 70 this.directory = directory; 74 File[] jars = directory.listFiles(new FilenameFilter() { 84 new IOException("Directory " + directory + " is not accessible")); 115 File f = new File(directory, filename);
|
H A D | AuthorizationFramework.java | 56 private final File directory; field in class:AuthorizationFramework 63 * Plugin directory is set through RuntimeEnvironment. 116 File directory = path == null ? null : new File(path); 117 if (path == null || directory == null || !directory.isDirectory() || !directory.canRead()) { 118 LOGGER.log(Level.INFO, "plugin directory not found or not readable: {0}. " 122 this.directory = directory; 182 File[] files = directory [all...] |
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/model/ |
H A D | Hit.java | 8 private static final String ATTRIBUTE_DIRECTORY = "directory"; 14 private String directory; field in class:Hit 22 String directory = (String) jsonobj.get(ATTRIBUTE_DIRECTORY); 24 setDirectory(directory.replaceAll("\\\\", "")); 38 public Hit(String directory, String filename, int lineno, String line, argument 41 this.directory = directory; 49 return directory; 52 public void setDirectory(String directory) { argument 53 this.directory [all...] |
/opengrok/src/org/opensolaris/opengrok/search/ |
H A D | Hit.java | 41 * Holds value of property directory 43 private String directory; field in class:Hit 91 this.directory = file.getParent(); 92 if (directory == null) { 93 directory = ""; 121 * Getter for property directory 123 * @return Value of property directory 126 return this.directory;
|
/opengrok/src/org/opensolaris/opengrok/configuration/ |
H A D | RuntimeEnvironment.java | 311 * Get a file representing the directory where the sources are located 313 * @return A file representing the directory where the sources are located 1511 * Starts a watch dog service for a directory. It automatically reloads the 1517 * @param directory root directory for plugins 1519 public void startWatchDogService(File directory) { argument 1520 if (directory == null || !directory.isDirectory() || !directory.canRead()) { 1521 LOGGER.log(Level.INFO, "Watch dog cannot be started - invalid directory [all...] |