Skip to main content

write_watermark

Function write_watermark 

Source
pub fn write_watermark(project_hash: &str, wm: &Watermark) -> Result<(), String>
Expand description

Write the watermark for the given project hash. Best-effort: caller can ignore the Result via let _ = …. Creates the parent dir on demand — first-ever SessionStart in a repo finds ~/.difflore/projects/{hash}/ missing.