fs

package
v0.0.0-...-01a91d6 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirFS

func DirFS(fs afero.Fs, path string) afero.Fs

DirFS returns a filesystem that is rooted at a given path

func EnsureFile

func EnsureFile(fs afero.Fs, path string) error

EnsureFile ensures the presence of a file for a path

func Glob

func Glob(fs afero.Fs, pattern string) ([]string, error)

Glob returns a list of files matching the pattern. The pattern can include **/ to match any number of directories.

Types

This section is empty.

Jump to

Keyboard shortcuts

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