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

Function clear_dlc_mounts

perro_source/io_stack/perro_io/src/asset_io.rs:97–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 pub name: String,
96 pub source: DlcMountSource,
97}
98
99pub fn is_reserved_dlc_name(name: &str) -> bool {
100 name.eq_ignore_ascii_case("self")
101}
102
103pub fn validate_dlc_name(name: &str) -> io::Result<()> {
104 let mut components = Path::new(name).components();

Calls 2

clearMethod · 0.45
writeMethod · 0.45