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

Function user_app_name

perro_source/io_stack/perro_io/src/asset_io.rs:216–225  ·  view source on GitHub ↗
(project_root_opt: &Option<ProjectRoot>)

Source from the content-addressed store, hash-verified

214 .cloned();
215 if let Some(archive) = archive {
216 archive.read_file(virtual_path)
217 } else {
218 Err(io::Error::new(
219 io::ErrorKind::NotFound,
220 format!("dlc archive mount not found: {name}"),
221 ))
222 }
223}
224
225pub fn mount_dlc_disk(name: &str, root: impl AsRef<Path>) -> io::Result<()> {
226 validate_dlc_name(name)?;
227 let root = root.as_ref().to_path_buf();
228 if !root.exists() {

Callers 1

resolve_pathFunction · 0.85

Calls 4

normalize_user_app_nameFunction · 0.85
expectMethod · 0.45
as_refMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected