/// <param name="diff"></param> public Status(IndexDiff diff) : base() { this.diff = diff; clean = diff.GetAdded().IsEmpty() && diff.GetChanged().IsEmpty() && diff.GetRemoved ().IsEmpty() && diff.GetMissing().IsEmpty() && diff.GetModified().IsEmpty() && diff .GetUntracked().IsEmpty() && diff.GetConflicting().IsEmpty(); }
/// <returns> /// list of files removed from index, but in HEAD (e.g. what you get /// if you call 'git rm ...' on a existing file) /// </returns> public virtual ICollection <string> GetRemoved() { return(Sharpen.Collections.UnmodifiableSet(diff.GetRemoved())); }