/// <summary> /// List containing statistics on changed file associated with a particular node in a change set. /// Private repositories require the caller to authenticate. /// </summary> /// <param name="changeset">The change set whose diff stat you wish to get.</param> /// <returns></returns> private List<DiffstatInfo> GetChangesetDiffstat(Changeset changeset) { var overrideUrl = _baserUrl + "changesets/" + changeset.node + "/diffstat/"; return _sharpBucketV1.Get(new List<DiffstatInfo>(), overrideUrl); }
/// <summary> /// Gets the actual diff associated with the changeset node. /// This call returns the output as a string containing JSON. Private repositories require the caller to authenticate. /// </summary> /// <param name="changeset">The changeset.</param> /// <returns></returns> private Changeset GetChangesetDiff(Changeset changeset) { var overrideUrl = _baserUrl + "changesets/" + changeset.node + "/diff/"; return _sharpBucketV1.Get(changeset, overrideUrl); }