aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cli/internal/turbopath/absolute_system_path_notdarwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'cli/internal/turbopath/absolute_system_path_notdarwin.go')
-rw-r--r--cli/internal/turbopath/absolute_system_path_notdarwin.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/cli/internal/turbopath/absolute_system_path_notdarwin.go b/cli/internal/turbopath/absolute_system_path_notdarwin.go
new file mode 100644
index 0000000..1195888
--- /dev/null
+++ b/cli/internal/turbopath/absolute_system_path_notdarwin.go
@@ -0,0 +1,13 @@
+//go:build !darwin
+// +build !darwin
+
+package turbopath
+
+import (
+ "os"
+)
+
+// Lchmod changes the mode of a file not following symlinks.
+func (p AbsoluteSystemPath) Lchmod(mode os.FileMode) error {
+ return nil
+}