Searched defs:directory (Results 1 - 10 of 10) sorted by relevance

/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DHistoryCache.java89 * Check if the specified directory is present in the cache.
90 * @param directory the directory to check
91 * @param repository the repository in which the directory is stored
92 * @return {@code true} if the directory is in the cache, {@code false}
95 boolean hasCacheForDirectory(File directory, Repository repository) argument
111 * specified directory.
113 * @param directory which directory to fetch modification times for
114 * @param repository the repository in which the directory live
117 getLastModifiedTimes( File directory, Repository repository) argument
[all...]
H A DBazaarRepository.java93 File directory = new File(directoryName);
101 process = Runtime.getRuntime().exec(argv, null, directory);
201 File directory = new File(getDirectoryName());
207 Executor executor = new Executor(cmd, directory);
216 executor = new Executor(cmd, directory);
278 * @param directory Directory where we list tags
281 protected void buildTagList(File directory) { argument
288 pb.directory(directory);
H A DFileHistoryCache.java128 "Unable to create cache directory '" + dir + "'.");
248 // history information on the directory may change if a file in
249 // a sub-directory change. This will cause us to present a stale
250 // history log until a the current directory is updated and
276 * Check if the directory is in the cache.
277 * @param directory the directory to check
278 * @return {@code true} if the directory is in the cache
281 public boolean hasCacheForDirectory(File directory, Repository repository) argument
283 assert directory
305 getLastModifiedTimes( File directory, Repository repository) argument
[all...]
H A DGitRepository.java82 File directory = new File(directoryName);
83 Executor exec = new Executor(cmd, directory);
164 File directory = new File(directoryName);
175 process = Runtime.getRuntime().exec(argv, null, directory);
191 process = Runtime.getRuntime().exec(argv, null, directory);
278 File directory = new File(directoryName);
279 exec = new Executor(cmd, directory);
333 File directory = new File(getDirectoryName());
340 Executor executor = new Executor(cmd, directory);
412 private TagEntry buildTagEntry(File directory, Strin argument
469 buildTagList(File directory) argument
[all...]
H A DMercurialRepository.java127 File directory = new File(directoryName);
141 process = Runtime.getRuntime().exec(argv, null, directory);
202 pb.directory(file.getParentFile());
270 File directory = new File(directoryName);
276 Executor executor = new Executor(cmd, directory);
286 executor = new Executor(cmd, directory);
362 protected void buildTagList(File directory) { argument
369 pb.directory(directory);
H A DRepository.java68 * Get the history log for the specified file or directory.
157 * @param parent the name of the directory containing the file
235 * @param directory
237 protected void buildTagList(File directory) { argument
271 // If we don't have a directory parser, we can't create the cache
282 File directory = new File(getDirectoryName());
286 history = getHistory(directory, sinceRevision);
304 history = getHistory(directory);
326 * @return true if this is the correct repository for this file/directory.
H A DHistoryGuru.java223 * @param parent The directory containing the file
240 * Does this directory contain files with source control information?
241 * @param file The name of the directory
242 * @return true if the files in this directory have associated revision
275 * specified directory.
277 * @param directory the directory whose files to check
281 public Map<String, Date> getLastModifiedTimes(File directory) argument
283 Repository repository = getRepository(directory);
285 return historyCache.getLastModifiedTimes(directory, repositor
[all...]
H A DJDBCHistoryCache.java141 * whole directory at once are supported.
433 * Get the path of a file relative to the specified root directory.
436 * @param rootPath the canonical path of the root directory
567 // Fetch history for all files under this directory.
1032 * Build maps from directory names and file names to their respective
1037 * @param history the history to get the file and directory names from
1039 * @param dirMap a map which will be filled with directory names and ids
1114 * @param ps statement that inserts a directory into the DIRECTORY table.
1116 * the directory, and (3) the id to use for the directory
1207 getLastModifiedTimes( File directory, Repository repository) argument
1228 getLastModifiedTimesForAllFiles( File directory, Repository repository) argument
[all...]
/opengrok-sun/test/org/opensolaris/opengrok/web/
H A DDirectoryListingTest.java50 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(directory, out, directory
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DHit.java40 * Holds value of property directory
42 private String directory; field in class:Hit
90 this.directory = file.getParent();
91 if (directory == null) {
92 directory = "";
120 * Getter for property directory
122 * @return Value of property directory
125 return this.directory;

Completed in 80 milliseconds