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

Method remove

euralios_std/src/syscalls.rs:489–494  ·  view source on GitHub ↗

Remove a path from the VFS

(mut self, path: &str)

Source from the content-addressed store, hash-verified

487
488 /// Remove a path from the VFS
489 pub fn remove(mut self, path: &str) -> Self {
490 self.s.push('-');
491 self.s.push_str(path);
492 self.s.push(':'); // Terminates path
493 self
494 }
495
496 fn as_str(&self) -> &str {
497 &self.s

Callers 2

remove_fileMethod · 0.80
mainFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected