Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
111
pub fn get_string(path: &Path) -> String {
112
path.to_str().unwrap_or(
""
).to_owned()
113
}
114
115
#[inline]
116
pub fn get_path(path: &str) -> PathBuf {
Callers
3
read_dir
Function · 0.85
get_home_as_string
Function · 0.85
read_dir_recursive
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected