Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
create
Method · 0.80
Calls
1
new_item
Method · 0.80
Tested by
no test coverage detected