MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / clear

Method clear

ramdisk/src/main.rs:48–51  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

46 Ok(buffer.len())
47 }
48 fn clear(&mut self) -> Result<(), syscalls::SyscallError> {
49 self.data.clear();
50 Ok(())
51 }
52}
53
54/// A tree structure of directories containing File objects

Callers 3

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected