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

Method toWindows

core/src/main/java/io/xpipe/core/FilePath.java:232–235  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

230 }
231
232 public FilePath toWindows() {
233 var suffix = value.endsWith("/") || value.endsWith("\\") ? "\\" : "";
234 return FilePath.of(String.join("\\", split()) + suffix);
235 }
236
237 public boolean isRoot() {
238 return getRoot().equals(this);

Callers 2

normalizeMethod · 0.95
executeImplMethod · 0.80

Calls 3

ofMethod · 0.95
splitMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected