Documentation
¶
Index ¶
- func New(opt *Option) (driver.FS, error)
- type Option
- type SMB
- func (d *SMB) Close() error
- func (d *SMB) Copy(ctx context.Context, src, dst string) error
- func (d *SMB) Create(path string) (driver.FileWriter, error)
- func (d *SMB) Get(ctx context.Context, path string) (driver.File, error)
- func (d *SMB) List(ctx context.Context, path string, metas ...driver.Meta) ([]driver.File, error)
- func (d *SMB) MakeDir(ctx context.Context, path string) error
- func (d *SMB) Move(ctx context.Context, src, dst string) error
- func (d *SMB) Open(path string) (driver.FileReader, error)
- func (d *SMB) Remove(ctx context.Context, path string) error
- func (d *SMB) Rename(ctx context.Context, path, newName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
Click to show internal directories.
Click to hide internal directories.