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

Method copy

kernel/src/vfs.rs:106–108  ·  view source on GitHub ↗

Make a copy of the internal state

(&self)

Source from the content-addressed store, hash-verified

104
105 /// Make a copy of the internal state
106 pub fn copy(&self) -> Self {
107 VFS(Arc::new(RwLock::new(self.0.read().clone())))
108 }
109}

Callers 1

sys_execFunction · 0.45

Calls 3

cloneMethod · 0.80
VFSClass · 0.70
readMethod · 0.45

Tested by

no test coverage detected