Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_dir
Function · 0.80
load_dh_params
Method · 0.80
as_ref
Method · 0.80
check_dir
Function · 0.80
Calls
1
new
Function · 0.85
Tested by
no test coverage detected