MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / read_dashboard_source_stamp

Function read_dashboard_source_stamp

build.rs:230–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228}
229
230fn read_dashboard_source_stamp() -> Option<String> {
231 let contents = fs::read_to_string(dashboard_source_stamp_path()?).ok()?;
232 let stamp = contents.trim();
233 (!stamp.is_empty()).then(|| stamp.to_string())
234}
235
236fn store_dashboard_source_stamp(stamp: &str) {
237 // Best-effort: if the stamp can't be written, the next build still checks

Callers 1

Calls 2

is_emptyMethod · 0.45

Tested by

no test coverage detected