summaryrefslogtreecommitdiff
path: root/contrib/fs/stat.go
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/fs/stat.go')
-rw-r--r--contrib/fs/stat.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/contrib/fs/stat.go b/contrib/fs/stat.go
index 4dd65d8..78b198f 100644
--- a/contrib/fs/stat.go
+++ b/contrib/fs/stat.go
@@ -18,11 +18,3 @@ func isNotFound(err error) bool {
return false
}
-
-func fileIsDir(file fs.File) (bool, error) {
- info, err := file.Stat()
- if err != nil {
- return false, err
- }
- return info.IsDir(), nil
-}