MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / access

Function access

src/fs/abs.rs:244–246  ·  view source on GitHub ↗
(path: P, access: Access)

Source from the content-addressed store, hash-verified

242#[cfg(not(any(target_os = "espidf", target_os = "horizon", target_os = "vita")))]
243#[inline]
244pub fn access<P: path::Arg>(path: P, access: Access) -> io::Result<()> {
245 path.into_with_c_str(|path| backend::fs::syscalls::access(path, access))
246}
247
248/// `statfs`—Queries filesystem metadata.
249///

Callers 2

test_mkdirFunction · 0.50
test_renameFunction · 0.50

Calls 1

into_with_c_strMethod · 0.80

Tested by 2

test_mkdirFunction · 0.40
test_renameFunction · 0.40