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

Function exists

src/fs/mod.rs:211–214  ·  view source on GitHub ↗

Exists

(path: &str)

Source from the content-addressed store, hash-verified

209
210// Exists
211pub fn exists(path: &str) -> bool
212{
213 crate::sys::sc::info(path).is_some()
214}
215
216
217// Open file

Callers 1

cp_fileFunction · 0.85

Calls 1

infoFunction · 0.70

Tested by

no test coverage detected