fn dir_for_hash(obj_hash: &str) -> PathBuf {
    let mut path = PathBuf::from(".git/objects");
    path.push(&obj_hash[..2]);
    path
}
// The directory that contains an object
The directory that contains an object
The directory that contains an object
fn dir_for_hash(obj_hash: &str) -> PathBuf {
    let mut path = PathBuf::from(".git/objects");
    path.push(&obj_hash[..2]);
    path
}
fn dir_for_hash ( obj_hash : & str ) -> PathBuf { let mut path = PathBuf :: from ( " " ) ; path . push ( & obj_hash [ .. 2 ] ) ; path }
The directory that contains an object
The directory that contains an object
obj_hash
&str
obj_hash
&str