func (s Scanned) ContentsChanged() bool {
	if s.Old == nil || s.New == nil {
		return false
	}

	if s.Old.Checksum != s.New.Checksum {
		return true
	}

	if s.Old.OSHash != s.New.OSHash {
		return true
	}

	return false
}
// ContentsChanged returns true if both old and new files are present and the file content is different.
ContentsChanged returns true if both old and new files are present and the file content is different.
// ContentsChanged returns true if both old and new files are present and the file content is different .
func (s Scanned) ContentsChanged() bool {
	if s.Old == nil || s.New == nil {
		return false
	}
	if s.Old.Checksum != s.New.Checksum {
		return true
	}
	if s.Old.OSHash != s.New.OSHash {
		return true
	}
	return false
}
func ( s Scanned ) ContentsChanged ( ) bool { if s . Old == nil || s . New == nil { return false } if s . Old . Checksum != s . New . Checksum { return true } if s . Old . OSHash != s . New . OSHash { return true } return false }
ContentsChanged returns true if both old and new files are present and the file content is different.
ContentsChanged returns true if both old and new files are present and the file content is different .