Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ScriptedAlchemy/tracedecay
/ file_size
Function
file_size
src/runtime_telemetry.rs:238–240 ·
view source on GitHub ↗
(path: &Path)
Source
from the content-addressed store, hash-verified
236
}
237
238
fn file_size(path: &Path) -> u64 {
239
std::fs::metadata(path).map_or(0, |m| m.len())
240
}
241
242
fn with_suffix(path: &Path, suffix: &str) -> PathBuf {
243
let mut s: std::ffi::OsString = path.as_os_str().to_owned();
Callers
1
sample_database
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected