MCPcopy Create free account
hub / github.com/Recordscript/recordscript / get_string

Function get_string

libs/hbb_common/src/fs.rs:111–113  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

109
110#[inline]
111pub fn get_string(path: &Path) -> String {
112 path.to_str().unwrap_or("").to_owned()
113}
114
115#[inline]
116pub fn get_path(path: &str) -> PathBuf {

Callers 3

read_dirFunction · 0.85
get_home_as_stringFunction · 0.85
read_dir_recursiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected