pub fn validate_cache_for_commit<R, T, Tree: MerkleTreeTrait>( cache_path: R, replica_path: T, ) -> Result<()>where R: AsRef<Path>, T: AsRef<Path>,