MCPcopy Index your code
hub / github.com/RustPython/RustPython / FollowSymlinks

Class FollowSymlinks

crates/vm/src/stdlib/os.rs:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97#[derive(FromArgs)]
98pub(super) struct FollowSymlinks(
99 #[pyarg(named, name = "follow_symlinks", default = true)] pub bool,
100);
101
102#[cfg(not(windows))]
103fn bytes_as_os_str<'a>(b: &'a [u8], vm: &VirtualMachine) -> PyResult<&'a std::ffi::OsStr> {

Callers 6

lchownFunction · 0.85
fchownFunction · 0.85
test_mode_via_statMethod · 0.85
statMethod · 0.85
inodeMethod · 0.85
lstatFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_mode_via_statMethod · 0.68