mirror of
https://github.com/restic/restic.git
synced 2025-10-21 04:48:44 +00:00
Remove dead code
This removes dead code (functions that aren't called) detected with `deadcode`.
This commit is contained in:
@@ -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