/// <summary>Create a new OK result with modified and removed files.</summary> /// <remarks>Create a new OK result with modified and removed files.</remarks> /// <param name="modified">the modified files</param> /// <param name="removed">the removed files.</param> internal CheckoutResult(IList <string> modified, IList <string> removed) { myStatus = CheckoutResult.Status.OK; this.conflictList = new AList <string>(0); this.undeletedList = new AList <string>(0); this.modifiedList = modified; this.removedList = removed; }
internal CheckoutResult(CheckoutResult.Status status, IList <string> fileList) { myStatus = status; if (status == CheckoutResult.Status.CONFLICTS) { this.conflictList = fileList; } else { this.conflictList = new AList <string>(0); } if (status == CheckoutResult.Status.NONDELETED) { this.undeletedList = fileList; } else { this.undeletedList = new AList <string>(0); } }
internal CheckoutResult(CheckoutResult.Status status, IList<string> fileList) { myStatus = status; if (status == CheckoutResult.Status.CONFLICTS) { this.conflictList = fileList; } else { this.conflictList = new AList<string>(0); } if (status == CheckoutResult.Status.NONDELETED) { this.undeletedList = fileList; } else { this.undeletedList = new AList<string>(0); } }
/// <summary>Create a new OK result with modified and removed files.</summary> /// <remarks>Create a new OK result with modified and removed files.</remarks> /// <param name="modified">the modified files</param> /// <param name="removed">the removed files.</param> internal CheckoutResult(IList<string> modified, IList<string> removed) { myStatus = CheckoutResult.Status.OK; this.conflictList = new AList<string>(0); this.undeletedList = new AList<string>(0); this.modifiedList = modified; this.removedList = removed; }