aferox

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContinueOnError added in v0.0.22

func ContinueOnError(options *iterOptions)

func Copy added in v0.0.23

func Copy(src, dest afero.Fs) error

func Fold added in v0.0.16

func Fold[T any](fsys afero.Fs, root string, folder FoldFunc[T], initial T) (acc T, err error)

func Iter added in v0.0.22

func Iter(fsys afero.Fs, root string, options ...IterOption) iter.Seq3[string, fs.FileInfo, error]

func NewDocker added in v0.0.13

func NewDocker(client client.ContainerAPIClient, container string) afero.Fs

func NewWriter added in v0.0.12

func NewWriter(w io.Writer) afero.Fs

func OpenFirst added in v0.0.17

func OpenFirst(fsys afero.Fs, root string, options ...IterOption) (afero.File, error)

func OpenSingle added in v0.0.17

func OpenSingle(fsys afero.Fs, root string, options ...IterOption) (afero.File, error)

func SkipDirs added in v0.0.17

func SkipDirs(options *iterOptions)

func StatFirst added in v0.0.17

func StatFirst(fsys afero.Fs, root string, options ...IterOption) (fs.FileInfo, error)

func StatSingle added in v0.0.17

func StatSingle(fsys afero.Fs, root string, options ...IterOption) (fs.FileInfo, error)

Types

type Docker added in v0.0.13

type Docker = docker.Fs

type ErrFilter added in v0.0.22

type ErrFilter func(error) error

type FoldFunc added in v0.0.16

type FoldFunc[T any] func(string, fs.FileInfo, T, error) (T, error)

type GitHub

type GitHub = github.Fs

type GitHubRelease

type GitHubRelease = release.Fs

type GitHubRepository

type GitHubRepository = repository.Fs

type GitHubRepositoryContent

type GitHubRepositoryContent = content.Fs

type GitHubUser

type GitHubUser = user.Fs

type IterOption added in v0.0.17

type IterOption func(*iterOptions)

func FilterErrors added in v0.0.22

func FilterErrors(filter ErrFilter) IterOption

type Writer added in v0.0.12

type Writer = writer.Fs

Jump to

Keyboard shortcuts

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