Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_bytes
Function · 0.45
into_cstring
Method · 0.45
_path_normpath
Function · 0.45
execve
Function · 0.45
envp_from_dict
Function · 0.45
spawn
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected