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

Method parse

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

Source from the content-addressed store, hash-verified

22 }
23
24 public static FilePath parse(String path) {
25 return path != null && path.equals(path.strip()) && !path.isBlank() ? new FilePath(path) : null;
26 }
27
28 public static FilePath of(String path) {
29 return path != null ? new FilePath(path) : null;

Callers 2

loadSharedRemoteMethod · 0.95
getFilePathMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected