Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ new_file
Function
new_file
src/fs/mod.rs:266–270 ·
view source on GitHub ↗
New file
(path: &str)
Source
from the content-addressed store, hash-verified
264
265
// New file
266
pub fn new_file(path: &str) -> Option<usize>
267
{
268
let flags = OpenFlag::CREATE as usize;
269
crate::sys::sc::open(path, flags)
270
}
271
272
273
// Open
Callers
2
reopen
Function · 0.85
write
Function · 0.85
Calls
1
open
Function · 0.70
Tested by
no test coverage detected