Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PCGen/pcgen
/ stripOffRoot
Method
stripOffRoot
code/src/java/pcgen/util/FileHelper.java:101–106 ·
view source on GitHub ↗
(File relative)
Source
from the content-addressed store, hash-verified
99
}
100
101
private
static
String stripOffRoot(File relative)
102
{
103
String root = relative.toPath().getRoot().toString();
104
105
return
relative.getAbsolutePath().substring(root.length());
106
}
107
}
Callers
1
findRelativePath
Method · 0.95
Calls
2
toString
Method · 0.65
getRoot
Method · 0.45
Tested by
no test coverage detected