file

package
v0.0.0-...-496cfe7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: GPL-2.0, GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFile

func CheckFile(filename string) bool

Types

type LocalFile

type LocalFile struct {
	Name string
	Data *os.File
}

func (*LocalFile) Close

func (local *LocalFile) Close()

func (*LocalFile) GetFile

func (local *LocalFile) GetFile() *os.File

func (*LocalFile) Open

func (local *LocalFile) Open()

type RemoteFile

type RemoteFile struct {
	Name string
	Data *sftp.File
}

func (*RemoteFile) Close

func (remote *RemoteFile) Close()

func (*RemoteFile) GetFile

func (remote *RemoteFile) GetFile() *sftp.File

func (*RemoteFile) Open

func (remote *RemoteFile) Open(client *sftp.Client)

Jump to

Keyboard shortcuts

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