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

Method new

kernel/src/vfs.rs:24–26  ·  view source on GitHub ↗

Create an empty set of mount points

()

Source from the content-addressed store, hash-verified

22impl VFS {
23 /// Create an empty set of mount points
24 pub fn new() -> Self {
25 VFS(Arc::new(RwLock::new(Vec::new())))
26 }
27
28 /// Add a mount point to the VFS
29 ///

Callers

nothing calls this directly

Calls 1

VFSClass · 0.70

Tested by

no test coverage detected