Skip to main content

device_clock_reads

Function device_clock_reads 

Source
pub fn device_clock_reads(crate_root: &Path, src_root: &Path) -> Vec<String>
Expand description

Every place under src_root that reads the time off the device rather than this clock, as path:line relative to crate_root: Timestamp::now(), unix time from SystemTime, and signing with bare keys through nostr’s finalize, which stamps the device’s clock. A read that must stay on the device (a file’s age, a log line, an id) says why with // device-clock: <why> on its line or the three above.