summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/chroot/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/chroot/util.go')
-rw-r--r--vendor/github.com/projectatomic/buildah/chroot/util.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/github.com/projectatomic/buildah/chroot/util.go b/vendor/github.com/projectatomic/buildah/chroot/util.go
deleted file mode 100644
index 34cc77260..000000000
--- a/vendor/github.com/projectatomic/buildah/chroot/util.go
+++ /dev/null
@@ -1,15 +0,0 @@
-// +build linux
-
-package chroot
-
-func dedupeStringSlice(slice []string) []string {
- done := make([]string, 0, len(slice))
- m := make(map[string]struct{})
- for _, s := range slice {
- if _, present := m[s]; !present {
- m[s] = struct{}{}
- done = append(done, s)
- }
- }
- return done
-}