Documentation
¶
Index ¶
- Constants
- type AfcOp
- type Client
- func (c *Client) Close() error
- func (c *Client) CopyFileFromDevice(dst, src string) error
- func (c *Client) CopyFileToDevice(dst, src string) error
- func (c *Client) CopyFromDevice(dst, src string, copyCbFn CopyCallbackFunc) error
- func (c *Client) CopyToDevice(dst, src string, copyCbFn CopyCallbackFunc) error
- func (c *Client) FileRefLock(ref int) error
- func (c *Client) FileRefOpen(name string, flags int) (*FileRef, error)
- func (c *Client) FileRefSetFileSize(ref int, size int64) error
- func (c *Client) GetConnectionInfo() error
- func (c *Client) GetDeviceInfo() (map[string]string, error)
- func (c *Client) GetDirs(dir string) ([]string, error)
- func (c *Client) GetFileInfo(name string) (os.FileInfo, error)
- func (c *Client) GetFiles(dir string) ([]string, error)
- func (c *Client) MakeDir(dir string) error
- func (c *Client) MakeLink(from, to string) error
- func (c *Client) ReadDir(dir string) ([]string, error)
- func (c *Client) RemoveAll(path string) error
- func (c *Client) RemovePath(path string) error
- func (c *Client) RenamePath(from, to string) error
- func (c *Client) SetConnectionOptions() error
- func (c *Client) SetFSBlockSize() error
- func (c *Client) SetFileTime(ref int) error
- func (c *Client) SetSocketBlockSize() error
- func (c *Client) TruncateFile(name string) error
- func (c *Client) Walk(root string, walkFn filepath.WalkFunc) error
- func (c *Client) WriteFile(name string, data []byte) error
- func (c *Client) WriteFileAtomic(name string, data []byte) error
- type CopyCallbackFunc
- type FileRef
- type Header
- type Printer
- type Tree
Constants ¶
View Source
const (
MODEMASK = 0777
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CopyFileFromDevice ¶
func (*Client) CopyFileToDevice ¶
CopyFileToDevice copies a source local file to the device
func (*Client) CopyFromDevice ¶
func (c *Client) CopyFromDevice(dst, src string, copyCbFn CopyCallbackFunc) error
func (*Client) CopyToDevice ¶
func (c *Client) CopyToDevice(dst, src string, copyCbFn CopyCallbackFunc) error
func (*Client) FileRefLock ¶
func (*Client) GetConnectionInfo ¶
func (*Client) RemovePath ¶
func (*Client) RenamePath ¶
func (*Client) SetConnectionOptions ¶
func (*Client) SetFSBlockSize ¶
func (*Client) SetFileTime ¶
func (*Client) SetSocketBlockSize ¶
func (*Client) TruncateFile ¶
type CopyCallbackFunc ¶
Click to show internal directories.
Click to hide internal directories.