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

Method into_bytes

crates/vm/src/ospath.rs:242–244  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

240 }
241
242 pub fn into_bytes(self) -> Vec<u8> {
243 self.path.into_encoded_bytes()
244 }
245
246 pub fn to_string_lossy(&self) -> alloc::borrow::Cow<'_, str> {
247 self.path.to_string_lossy()

Callers 6

spec_format_bytesFunction · 0.45
into_cstringMethod · 0.45
_path_normpathFunction · 0.45
execveFunction · 0.45
envp_from_dictFunction · 0.45
spawnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected