MCPcopy Index your code
hub / github.com/ermak-dev/cloudpub / get_java

Function get_java

client/src/plugins/minecraft/mod.rs:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42#[cfg(not(target_os = "macos"))]
43fn get_java() -> Result<PathBuf> {
44 Ok(get_cache_dir(JDK_SUBDIR)?.join("bin").join("java"))
45}
46
47#[cfg(target_os = "macos")]
48fn get_java() -> Result<PathBuf> {

Callers 1

publishMethod · 0.85

Calls 1

get_cache_dirFunction · 0.85

Tested by

no test coverage detected