mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 00:55:59 +00:00
doc improvement
This commit is contained in:
1 parent
93b88af550
commit
06ec0c3dd8
1 file changed
+3
@@ -228,6 +228,9 @@ public final class FilePath implements Serializable {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Is the given path name an absolute path?
|
||||
*/
|
||||
private static boolean isAbsolute(String rel) {
|
||||
return rel.startsWith("/") || DRIVE_PATTERN.matcher(rel).matches();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user