pub fn path_digest(target: &Path) -> String
SHA-256 of the canonical path: what an event names instead of the path.