idun/vendor/github.com/pkg/sftp/server_statvfs_stubs.go

17 lines
322 B
Go
Raw Normal View History

2023-10-12 08:20:53 +00:00
//go:build !darwin && !linux && !plan9
// +build !darwin,!linux,!plan9
package sftp
import (
"syscall"
)
func (p *sshFxpExtendedPacketStatVFS) respond(svr *Server) responsePacket {
return statusFromError(p.ID, syscall.ENOTSUP)
}
func getStatVFSForPath(name string) (*StatVFS, error) {
return nil, syscall.ENOTSUP
}