//--------------------// #region Equality /// <inheritdoc/> protected bool Equals(ManifestFileBase other) { if (other == null) { return(false); } return(other.Digest == Digest && other.ModifiedTime == ModifiedTime && other.Size == Size && other.FileName == FileName); }
/// <inheritdoc/> protected bool Equals(ManifestFileBase other) { if (other == null) { return(false); } return(ModifiedTimeUnix == other.ModifiedTimeUnix && base.Equals(other)); }
private static void FileMustExistInDirectory(ManifestFileBase node, string directory) { string fullPath = Path.Combine(directory, node.FileName); Assert.IsTrue(File.Exists(fullPath), "File " + fullPath + " does not exist."); }
/// <inheritdoc/> protected bool Equals(ManifestFileBase other) { if (other == null) return false; return ModifiedTimeUnix == other.ModifiedTimeUnix && base.Equals(other); }
/// <inheritdoc/> protected bool Equals(ManifestFileBase other) { if (other == null) return false; return other.Digest == Digest && other.ModifiedTime == ModifiedTime && other.Size == Size && other.FileName == FileName; }