Documentation
¶
Overview ¶
Package smb implements the SMB filesystem plugin.
Index ¶
- type Client
- func (c *Client) Chmod(_ context.Context, p string, mode os.FileMode) error
- func (c *Client) Copy(ctx context.Context, src, dst string) error
- func (c *Client) Home(context.Context) (string, error)
- func (c *Client) Mkdir(_ context.Context, p string) error
- func (c *Client) Move(_ context.Context, src, dst string) error
- func (c *Client) Open(_ context.Context, p string) (io.ReadCloser, error)
- func (c *Client) OpenSeeker(_ context.Context, p string) (io.ReadSeekCloser, error)
- func (c *Client) ReadDir(_ context.Context, p string) ([]os.FileInfo, error)
- func (c *Client) Remove(_ context.Context, p string, _ bool) error
- func (c *Client) Rename(_ context.Context, from, to string) error
- func (c *Client) Stat(_ context.Context, p string) (os.FileInfo, error)
- func (c *Client) Write(_ context.Context, p string, r io.Reader) error
- type Plugin
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) OpenSeeker ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) Filesystem ¶
func (s *Session) Filesystem() (filesystem.Client, error)
func (*Session) OpenChannel ¶
Click to show internal directories.
Click to hide internal directories.