mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
clarified
This commit is contained in:
1 parent
99b25b44a8
commit
0d2c557533
1 file changed
+2
-2
@@ -878,9 +878,9 @@ public final class FilePath implements Serializable {
|
||||
return n.substring(0,idx);
|
||||
}
|
||||
/**
|
||||
* Gets just the file name portion.
|
||||
* Gets just the file name portion without directories.
|
||||
*
|
||||
* This method assumes that the file name is the same between local and remote.
|
||||
* For example, "foo.txt" for "../abc/foo.txt"
|
||||
*/
|
||||
public String getName() {
|
||||
String r = remote;
|
||||
|
||||
Reference in new issue
Block a user