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

Function getcwdb

crates/vm/src/stdlib/os.rs:1486–1488  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1484
1485 #[pyfunction]
1486 fn getcwdb(vm: &VirtualMachine) -> PyResult {
1487 Ok(OutputMode::Bytes.process_path(curdir_inner(vm)?, vm))
1488 }
1489
1490 #[pyfunction]
1491 fn chdir(path: OsPath, vm: &VirtualMachine) -> PyResult<()> {

Callers

nothing calls this directly

Calls 2

curdir_innerFunction · 0.85
process_pathMethod · 0.80

Tested by

no test coverage detected