MCPcopy Create free account
hub / github.com/PerroEngine/Perro / load_web_user_asset

Function load_web_user_asset

perro_source/io_stack/perro_io/src/asset_io.rs:475–482  ·  view source on GitHub ↗
(key: &str)

Source from the content-addressed store, hash-verified

473 dlc: name,
474 path: format!("dlc://{}/{rel}", mount.name),
475 }
476 } else {
477 ResolvedPath::DlcPerroAssets {
478 dlc: name,
479 virtual_path: format!("res/{rel}"),
480 }
481 }
482 }
483 };
484 }
485 return ResolvedPath::Disk(PathBuf::from(path));

Callers 2

load_assetFunction · 0.85
stream_assetFunction · 0.85

Calls 1

load_local_bytesFunction · 0.85

Tested by

no test coverage detected