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

Method new_dir

src/fs/directory.rs:136–139  ·  view source on GitHub ↗

Create a new directory

(&self, name: &str)

Source from the content-addressed store, hash-verified

134
135 // Create a new directory
136 pub fn new_dir(&self, name: &str) -> Option<DirectoryEntry>
137 {
138 self.new_item(FileType::File, name)
139 }
140
141
142 // New file

Callers 1

createMethod · 0.80

Calls 1

new_itemMethod · 0.80

Tested by

no test coverage detected