filesystem

package
v0.27.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL