MCPcopy
hub / github.com/xpipe-io/xpipe / of

Method of

app/src/main/java/io/xpipe/app/process/OsFileSystem.java:23–23  ·  view source on GitHub ↗
(OsType.Any osType)

Source from the content-addressed store, hash-verified

21 }
22
23 static OsFileSystem of(OsType.Any osType) {
24 return switch (osType) {
25 case OsType.Windows ignored -> WINDOWS;
26 case OsType.Bsd ignored -> UNIX;

Callers 15

getNameMethod · 0.95
getNameMethod · 0.95
getNameMethod · 0.95
toAbsoluteFilePathMethod · 0.95
getFileSeparatorMethod · 0.95
createOverviewMethod · 0.95
userHomeMethod · 0.95
initScriptsDirectoryMethod · 0.95
toLocalPathMethod · 0.65
getExtensionMethod · 0.65

Implementers 3

Windowsapp/src/main/java/io/xpipe/app/process
Unixapp/src/main/java/io/xpipe/app/process
MacOsapp/src/main/java/io/xpipe/app/process

Calls

no outgoing calls

Tested by 4

getResourcePathMethod · 0.52
getMethod · 0.52
getArgumentsMethod · 0.52
createSimpleMethod · 0.52