gofmt some files

This commit is contained in:
2023-10-04 01:23:03 -05:00
parent e01008a56b
commit 31c131b9e3
6 changed files with 53 additions and 54 deletions

View File

@@ -609,7 +609,6 @@ func (entry *Entry) RestoreMetadata(fullPath string, fileInfo *os.FileInfo, setO
entry.SetAttributesToFile(fullPath)
}
// Only set the time if the file is not a symlink
if !entry.IsLink() && (*fileInfo).ModTime().Unix() != entry.Time {
modifiedTime := time.Unix(entry.Time, 0)
@@ -808,7 +807,7 @@ func ListEntries(top string, path string, patterns []string, nobackupFile string
if f.Name() == DUPLICACY_DIRECTORY {
continue
}
if f.Mode() & os.ModeSocket != 0 {
if f.Mode()&os.ModeSocket != 0 {
continue
}