(value: &str)
| 320 | } |
| 321 | |
| 322 | fn short_digest(value: &str) -> String { |
| 323 | let digest = blake3::hash(value.as_bytes()).to_hex().to_string(); |
| 324 | digest[..20].to_string() |
| 325 | } |
| 326 | |
| 327 | fn require_worktree(root: &Path) -> Result<(), WipCaptureError> { |
| 328 | let inside = git_text( |