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

Function lstat

src/fs/abs.rs:97–99  ·  view source on GitHub ↗
(path: P)

Source from the content-addressed store, hash-verified

95/// [`FileType::from_raw_mode`]: crate::fs::FileType::from_raw_mode
96#[inline]
97pub fn lstat<P: path::Arg>(path: P) -> io::Result<Stat> {
98 path.into_with_c_str(backend::fs::syscalls::lstat)
99}
100
101/// `readlink(path)`—Reads the contents of a symlink.
102///

Callers 1

negative_file_timestampFunction · 0.50

Calls 1

into_with_c_strMethod · 0.80

Tested by 1

negative_file_timestampFunction · 0.40