public void CompleteDeserialization(string workingFolder) { WorkingFolder = workingFolder; SubBranches.ForEach(b => b.Value.Repository = this); Branches.ForEach(b => b.Value.Repository = this); Commits.Values.ForEach(c => { c.Repository = this; }); }
public void AddNewSubBranch(Branch newBranch) { SubBranches.Add(newBranch); }