/// More info: /// https://confluence.atlassian.com/display/BITBUCKET/diff+Resource /// <summary> /// Gets the diff for the current repository. /// </summary> /// <param name="options">The diff options.</param> /// <returns></returns> public object GetDiff(object options) { return(_repositoriesEndPoint.GetDiff(_accountName, _repository, options)); }
/// <summary> /// Gets the diff for the current repository. /// </summary> /// <param name="spec">The diff spec (e.g., de3f2..78ab1).</param> /// <param name="parameters">Parameters for the diff.</param> /// <returns></returns> public string GetDiff(string spec, DiffParameters parameters) { return(_repositoriesEndPoint.GetDiff(_accountName, _slug, spec, parameters)); }