aboutsummaryrefslogtreecommitdiff
path: root/sftp/ls_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'sftp/ls_stub.go')
-rw-r--r--sftp/ls_stub.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/sftp/ls_stub.go b/sftp/ls_stub.go
new file mode 100644
index 0000000..6dec393
--- /dev/null
+++ b/sftp/ls_stub.go
@@ -0,0 +1,11 @@
+// +build windows android
+
+package sftp
+
+import (
+ "os"
+)
+
+func lsLinksUIDGID(fi os.FileInfo) (numLinks uint64, uid, gid string) {
+ return 1, "0", "0"
+}