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