MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / path_to_str

Function path_to_str

command/src/main.rs:1071–1073  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

1069}
1070
1071fn path_to_str(path: &Path) -> &str {
1072 path.to_str().expect("Failed to convert Path to &str")
1073}
1074
1075fn os_str_to_str(os_str: &OsStr) -> &str {
1076 os_str.to_str().expect("Failed to convert OsStr to &str")

Callers 2

mainFunction · 0.70
cache_workspaceFunction · 0.70

Calls 1

to_strMethod · 0.80

Tested by

no test coverage detected