aboutsummaryrefslogtreecommitdiff
path: root/sftp/server_statvfs_plan9.go
diff options
context:
space:
mode:
Diffstat (limited to 'sftp/server_statvfs_plan9.go')
-rw-r--r--sftp/server_statvfs_plan9.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/sftp/server_statvfs_plan9.go b/sftp/server_statvfs_plan9.go
new file mode 100644
index 0000000..e71a27d
--- /dev/null
+++ b/sftp/server_statvfs_plan9.go
@@ -0,0 +1,13 @@
+package sftp
+
+import (
+ "syscall"
+)
+
+func (p *sshFxpExtendedPacketStatVFS) respond(svr *Server) responsePacket {
+ return statusFromError(p.ID, syscall.EPLAN9)
+}
+
+func getStatVFSForPath(name string) (*StatVFS, error) {
+ return nil, syscall.EPLAN9
+}