pub fn tree_checksum(dir: &Path) -> Result<String>Expand description
The canonical-tree checksum (decision C): every regular file under dir
except .git, in byte-wise sorted /-separated path order, each
contributing path \0 length \0 bytes. Symbolic links aren’t files and
contribute nothing.