MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / toFilePath

Method toFilePath

src/main/java/emu/grasscutter/utils/Utils.java:112–114  ·  view source on GitHub ↗

Creates a string with the path to a file. @param path The path to the file. @return A path using the operating system's file separator.

(String path)

Source from the content-addressed store, hash-verified

110 * @return A path using the operating system's file separator.
111 */
112 public static String toFilePath(String path) {
113 return path.replace("/", File.separator);
114 }
115
116 /**
117 * Checks if a file exists on the file system.

Callers 14

createGmHandbookMethod · 0.95
createGachaMappingMethod · 0.95
loadPluginsMethod · 0.95
CheckAndCopyDataMethod · 0.95
loadAbilityEmbryosMethod · 0.95
loadAbilityModifiersMethod · 0.95
loadOpenConfigMethod · 0.95
RootRequestHandlerMethod · 0.95
getPageResourcesMethod · 0.95
GachaHandlerClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected