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

Method as_path

crates/vm/src/ospath.rs:238–240  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

236 }
237
238 pub fn as_path(&self) -> &Path {
239 Path::new(&self.path)
240 }
241
242 pub fn into_bytes(self) -> Vec<u8> {
243 self.path.into_encoded_bytes()

Callers 4

get_cert_file_dirFunction · 0.80
load_dh_paramsMethod · 0.80
as_refMethod · 0.80
check_dirFunction · 0.80

Calls 1

newFunction · 0.85

Tested by

no test coverage detected