ficsit-cli-flake/cli/disk/sftp.go

52 lines
884 B
Go
Raw Normal View History

2022-06-22 22:24:35 +00:00
package disk
import (
"io"
)
var _ Disk = (*sftpDisk)(nil)
type sftpDisk struct {
path string
}
func newSFTP(path string) (Disk, error) {
return sftpDisk{path: path}, nil
}
func (l sftpDisk) Exists(path string) error {
panic("implement me")
}
func (l sftpDisk) Read(path string) ([]byte, error) {
panic("implement me")
}
func (l sftpDisk) Write(path string, data []byte) error {
panic("implement me")
}
func (l sftpDisk) Remove(path string) error {
panic("implement me")
}
func (l sftpDisk) MkDir(path string) error {
panic("implement me")
}
func (l sftpDisk) ReadDir(path string) ([]Entry, error) {
panic("implement me")
}
func (l sftpDisk) IsNotExist(err error) bool {
panic("implement me")
}
func (l sftpDisk) IsExist(err error) bool {
panic("implement me")
}
func (l sftpDisk) Open(path string, flag int) (io.WriteCloser, error) {
panic("implement me")
}