コード例 #1
0
ファイル: Tree.cs プロジェクト: edamtoft/GitFormatter
 public Tree Update(string path, GitFileMode mode, Hash hash) => new Tree(_items.SetItem(path, new TreeEntry(mode, hash)));
コード例 #2
0
ファイル: TreeEntry.cs プロジェクト: edamtoft/GitFormatter
 public TreeEntry(GitFileMode mode, Hash hash)
 {
     Hash = hash;
     Mode = mode;
 }