Documentation ¶ Index ¶ type Adapter func New() *Adapter func (a *Adapter) Exists(_ context.Context, path string) (bool, error) func (a *Adapter) GetSize(_ context.Context, path string) (int64, error) func (a *Adapter) IsDirectory(_ context.Context, path string) (bool, error) func (a *Adapter) RemoveAll(_ context.Context, path string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Adapter ¶ type Adapter struct{} Adapter implements port.FileSystem using the OS filesystem. func New ¶ func New() *Adapter New creates a new filesystem adapter. func (*Adapter) Exists ¶ func (a *Adapter) Exists(_ context.Context, path string) (bool, error) func (*Adapter) GetSize ¶ func (a *Adapter) GetSize(_ context.Context, path string) (int64, error) func (*Adapter) IsDirectory ¶ func (a *Adapter) IsDirectory(_ context.Context, path string) (bool, error) func (*Adapter) RemoveAll ¶ func (a *Adapter) RemoveAll(_ context.Context, path string) error Source Files ¶ View all Source files adapter.go Click to show internal directories. Click to hide internal directories.