aboutsummaryrefslogtreecommitdiff
path: root/utils/fileutils.go
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-22 21:15:29 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-22 21:15:29 +0200
commit3ffc6cb0218ecd1868efdb76a4930925097da190 (patch)
tree1702a13f4daeda6d0c8f321125bfc428a3d2817d /utils/fileutils.go
parent237f6af4dc74183cf76898ff8f471ab3cb786116 (diff)
downloaddna-backup-3ffc6cb0218ecd1868efdb76a4930925097da190.tar.gz
dna-backup-3ffc6cb0218ecd1868efdb76a4930925097da190.zip
rename and remove unused utils
Diffstat (limited to 'utils/fileutils.go')
-rw-r--r--utils/fileutils.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/utils/fileutils.go b/utils/fileutils.go
deleted file mode 100644
index 6c269ca..0000000
--- a/utils/fileutils.go
+++ /dev/null
@@ -1,10 +0,0 @@
-package utils
-
-import (
- "path/filepath"
- "strings"
-)
-
-func TrimTrailingSeparator(path string) string {
- return strings.TrimSuffix(path, string(filepath.Separator))
-}