MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / new_dev

Method new_dev

src/fs/directory.rs:129–132  ·  view source on GitHub ↗

Create a new device

(&self, name: &str)

Source from the content-addressed store, hash-verified

127
128 // Create a new device
129 pub fn new_dev(&self, name: &str) -> Option<DirectoryEntry>
130 {
131 self.new_item(FileType::Dev, name)
132 }
133
134
135 // Create a new directory

Callers 1

createMethod · 0.80

Calls 1

new_itemMethod · 0.80

Tested by

no test coverage detected