fsadapter

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery struct{}

func NewDiscovery

func NewDiscovery() *Discovery

func (*Discovery) ListFiles

func (d *Discovery) ListFiles(ctx context.Context, root string) ([]domain.FileRef, error)

type FileSystem

type FileSystem struct{}

func NewFileSystem

func NewFileSystem() *FileSystem

func (*FileSystem) Abs

func (fs *FileSystem) Abs(path string) (string, error)

func (*FileSystem) CurrentDir

func (fs *FileSystem) CurrentDir() (string, error)

func (*FileSystem) EnsureDir

func (fs *FileSystem) EnsureDir(path string) error

func (*FileSystem) Exists

func (fs *FileSystem) Exists(path string) (bool, error)

func (*FileSystem) IsDir

func (fs *FileSystem) IsDir(path string) (bool, error)

func (*FileSystem) IsTextFile

func (fs *FileSystem) IsTextFile(path string) (bool, error)

func (*FileSystem) SourceSize

func (fs *FileSystem) SourceSize(path string, format domain.Format) (string, bool, error)

Jump to

Keyboard shortcuts

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