file

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: MPL-2.0 Imports: 4 Imported by: 2

Documentation

Overview

Package file contains functions for finding files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindByExtension

func FindByExtension(afs *afero.Afero, path string, extensions []string) (files []string, err error)

FindByExtension walks a file tree and returns a list of files based on extensions passed

func FindByRegex added in v0.2.3

func FindByRegex(afs *afero.Afero, root string, re string) (files []string, err error)

FindByRegex recursively searches for files matching a pattern.

Types

This section is empty.

Jump to

Keyboard shortcuts

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