sftp

package
v0.0.0-...-aca5ee0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FishlerFS

type FishlerFS struct {
	GetDockerVolumnPath func(fs FishlerFS, p string, trash bool) (string, error)
	HasDiskSpace        func(fs FishlerFS) bool
	Lock                *sync.Mutex
	User                string
	RemoteIP            string
}

func (FishlerFS) Filecmd

func (fs FishlerFS) Filecmd(request *sftp.Request) error

func (FishlerFS) Filelist

func (fs FishlerFS) Filelist(request *sftp.Request) (sftp.ListerAt, error)

func (FishlerFS) Fileread

func (fs FishlerFS) Fileread(request *sftp.Request) (io.ReaderAt, error)

func (FishlerFS) Filewrite

func (fs FishlerFS) Filewrite(request *sftp.Request) (io.WriterAt, error)

type ListerAt

type ListerAt []os.FileInfo

func (ListerAt) ListAt

func (l ListerAt) ListAt(f []os.FileInfo, offset int64) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL