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

Function directory_open

src/fs/mod.rs:165–169  ·  view source on GitHub ↗

Open a directory

(path: &str)

Source from the content-addressed store, hash-verified

163
164// Open a directory
165pub fn directory_open(path: &str) -> Option<usize>
166{
167 let flags = OpenFlag::DIRECTORY as usize;
168 crate::sys::sc::open(path, flags)
169}
170
171
172// Disk free

Callers

nothing calls this directly

Calls 1

openFunction · 0.70

Tested by

no test coverage detected