Skip to main content

sign_path

Function sign_path 

Source
pub fn sign_path(path: impl AsRef<Path>) -> Result<Vec<PathBuf>, String>
Expand description

Sign all .htmlp files using the same traversal as check_path. All files are parsed before any writes. Changed files are replaced atomically, keeping permissions. Returns changed paths. An I/O failure can leave earlier files updated; a directory is not a transaction. Avoid concurrent source edits.