Searched refs:fullPath (Results 1 - 2 of 2) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/history/
H A DJDBCHistoryCache.java467 * @param fullPath the full path of the file with unix file separators
470 private static String getBaseName(String fullPath) { argument
471 int idx = fullPath.lastIndexOf('/');
472 return (idx >= 0) ? fullPath.substring(idx + 1) : fullPath;
478 * @param fullPath the full path of the file with unix file separators
481 private static String getParentPath(String fullPath) { argument
482 int idx = fullPath.lastIndexOf('/');
483 return (idx >= 0) ? fullPath.substring(0, idx) : fullPath;
493 splitPath(String fullPath) argument
1198 addAllDirs( PreparedStatement ps, int reposId, String fullPath, Map<String, Integer> map) argument
[all...]
/opengrok/src/org/opensolaris/opengrok/web/
H A DUtil.java1163 * @param fullPath the path from which to remove the prefix
1165 * directory of {@code fullPath}; otherwise, {@code fullPath}
1167 public static String stripPathPrefix(String prefix, String fullPath) { argument
1178 if (fullPath.length() > prefixLength && fullPath.startsWith(prefix)
1179 && fullPath.charAt(prefixLength - 1) == '/') {
1180 return fullPath.substring(prefixLength);
1184 return fullPath;

Completed in 13 milliseconds