mirror of
https://github.com/restic/restic.git
synced 2026-10-11 12:37:13 +00:00
Remove dead code
This removes dead code (functions that aren't called) detected with `deadcode`.
This commit is contained in:
1 parent
90ed679e88
commit
9753c37e31
4 files changed
-53
No files matched your search
@@ -76,10 +76,6 @@ func isDir(fi os.FileInfo) bool {
|
||||
return fi.IsDir()
|
||||
}
|
||||
|
||||
func isFile(fi os.FileInfo) bool {
|
||||
return fi.Mode()&(os.ModeType|os.ModeCharDevice) == 0
|
||||
}
|
||||
|
||||
var errCancelled = errors.New("walk cancelled")
|
||||
|
||||
// SelectFunc returns true for all items that should be included (files and
|
||||
|
||||
Reference in new issue
Block a user