MCPcopy Create free account
hub / github.com/diffplug/goomph / asUrl

Method asUrl

src/main/java/com/diffplug/gradle/FileMisc.java:427–429  ·  view source on GitHub ↗

Prefixes `file://` to the file's absolute path.

(File file)

Source from the content-addressed store, hash-verified

425
426 /** Prefixes `file://` to the file's absolute path. */
427 public static String asUrl(File file) {
428 return PROTOCOL + file.getAbsolutePath();
429 }
430
431 /** Returns ".app" on macOS, and empty string on all others. */
432 public static String macApp() {

Callers 15

testDirectorArgsMethod · 0.95
testMirrorAntFileMethod · 0.95
loadBundleMethod · 0.95
addRepoMethod · 0.95
addMetadataRepoMethod · 0.95
addArtifactRepoMethod · 0.95
mirrorAppMethod · 0.95
directorAppMethod · 0.95

Calls

no outgoing calls