summaryrefslogtreecommitdiff
path: root/vendor/github.com/opencontainers/runtime-tools/filepath/abs.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/opencontainers/runtime-tools/filepath/abs.go')
-rw-r--r--vendor/github.com/opencontainers/runtime-tools/filepath/abs.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/vendor/github.com/opencontainers/runtime-tools/filepath/abs.go b/vendor/github.com/opencontainers/runtime-tools/filepath/abs.go
index c19bba26a..e4ab7453f 100644
--- a/vendor/github.com/opencontainers/runtime-tools/filepath/abs.go
+++ b/vendor/github.com/opencontainers/runtime-tools/filepath/abs.go
@@ -1,7 +1,6 @@
package filepath
import (
- "errors"
"regexp"
"strings"
)
@@ -11,9 +10,6 @@ var windowsAbs = regexp.MustCompile(`^[a-zA-Z]:\\.*$`)
// Abs is a version of path/filepath's Abs with an explicit operating
// system and current working directory.
func Abs(os, path, cwd string) (_ string, err error) {
- if os == "windows" {
- return "", errors.New("Abs() does not support windows yet")
- }
if IsAbs(os, path) {
return Clean(os, path), nil
}