Documentation ¶ Index ¶ func FilePaths(fsys fs.FS, regex, rootDir string) (string, []string, error) func ReadFile(fsys fs.FS, filePath string) ([]byte, error) func WalkDir(fsys fs.FS, dir string, walkFn fs.WalkDirFunc) error type OsFS func NewOsFS() OsFS func (OsFS) Open(name string) (fs.File, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FilePaths ¶ func FilePaths(fsys fs.FS, regex, rootDir string) (string, []string, error) func ReadFile ¶ func ReadFile(fsys fs.FS, filePath string) ([]byte, error) func WalkDir ¶ func WalkDir(fsys fs.FS, dir string, walkFn fs.WalkDirFunc) error Types ¶ type OsFS ¶ type OsFS struct{} func NewOsFS ¶ func NewOsFS() OsFS func (OsFS) Open ¶ func (OsFS) Open(name string) (fs.File, error) Source Files ¶ View all Source files fsutils.go Click to show internal directories. Click to hide internal directories.