Beispiel #1
0
 public GitLock(string id, SPath path, GitUser owner, DateTimeOffset locked_at)
 {
     this.id             = id;
     this.path           = path.IsInitialized ? path.ToString() : null;
     this.owner          = owner;
     this.lockedAtString = locked_at.ToUniversalTime().ToString(Constants.Iso8601FormatZ, CultureInfo.InvariantCulture);
 }
Beispiel #2
0
 public bool Equals(GitUser other)
 {
     return
         (String.Equals(name, other.name) &&
          Email.Equals(other.Email));
 }