summaryrefslogtreecommitdiff
path: root/pkg/util/utils_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/util/utils_windows.go')
-rw-r--r--pkg/util/utils_windows.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/util/utils_windows.go b/pkg/util/utils_windows.go
new file mode 100644
index 000000000..1e9ccea90
--- /dev/null
+++ b/pkg/util/utils_windows.go
@@ -0,0 +1,12 @@
+// +build windows
+
+package util
+
+import (
+ "github.com/pkg/errors"
+)
+
+// GetRootlessRuntimeDir returns the runtime directory when running as non root
+func GetRootlessRuntimeDir() (string, error) {
+ return "", errors.New("this function is not implemented for windows")
+}