024b11b1e8
* refactor: separate resolving tests * feat: use pubgrub to resolve dependencies * feat: show friendly mod name in error message * feat: show single version in error message when only one matches * ci: update go version to match go.mod * feat: format FactoryGame incompatibility and term * chore: fetch all necessary data of the version at once * chore: upgrade pubgrub * chore: upgrade pubgrub * ci: update golangci-lint version for go 1.21 * chore: lint * chore: update go version in readme
51 lines
965 B
Go
51 lines
965 B
Go
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 { //nolint
|
|
panic("implement me")
|
|
}
|
|
|
|
func (l sftpDisk) Read(path string) ([]byte, error) { //nolint
|
|
panic("implement me")
|
|
}
|
|
|
|
func (l sftpDisk) Write(path string, data []byte) error { //nolint
|
|
panic("implement me")
|
|
}
|
|
|
|
func (l sftpDisk) Remove(path string) error { //nolint
|
|
panic("implement me")
|
|
}
|
|
|
|
func (l sftpDisk) MkDir(path string) error { //nolint
|
|
panic("implement me")
|
|
}
|
|
|
|
func (l sftpDisk) ReadDir(path string) ([]Entry, error) { //nolint
|
|
panic("implement me")
|
|
}
|
|
|
|
func (l sftpDisk) IsNotExist(err error) bool { //nolint
|
|
panic("implement me")
|
|
}
|
|
|
|
func (l sftpDisk) IsExist(err error) bool { //nolint
|
|
panic("implement me")
|
|
}
|
|
|
|
func (l sftpDisk) Open(path string, flag int) (io.WriteCloser, error) { //nolint
|
|
panic("implement me")
|
|
}
|