MCPcopy Index your code
hub / github.com/xpipe-io/xpipe / of

Method of

core/src/main/java/io/xpipe/core/FilePath.java:28–30  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

26 }
27
28 public static FilePath of(String path) {
29 return path != null ? new FilePath(path) : null;
30 }
31
32 public static FilePath of(String... path) {
33 if (path == null || path.length == 0) {

Callers 15

getRootMethod · 0.95
toDirectoryMethod · 0.95
removeTrailingSlashMethod · 0.95
getBaseNameMethod · 0.95
joinMethod · 0.95
getParentMethod · 0.95
startsWithMethod · 0.95
relativizeMethod · 0.95
resolveTildeHomeMethod · 0.95
toUnixMethod · 0.95
toWindowsMethod · 0.95
deserializeMethod · 0.95

Calls 3

toArrayMethod · 0.80
joinMethod · 0.45
toStringMethod · 0.45

Tested by 1

getResourcePathMethod · 0.76