public Tree Update(string path, GitFileMode mode, Hash hash) => new Tree(_items.SetItem(path, new TreeEntry(mode, hash)));
public TreeEntry(GitFileMode mode, Hash hash) { Hash = hash; Mode = mode; }
public Tree Update(string path, GitFileMode mode, Hash hash) => new Tree(_items.SetItem(path, new TreeEntry(mode, hash)));
public TreeEntry(GitFileMode mode, Hash hash) { Hash = hash; Mode = mode; }