go-collector is a simple library for collecting a list of files from a given path in a filesystem.
go get github.com/spatialcurrent/go-collector
Import
import (
"github.com/spatialcurrent/go-collector/collector"
)
CollectFilepaths
func CollectFilepaths(basepath string, extensions []string, recursive bool, paths []string) ([]string, error) {
...
}
Spatial Current, Inc. is currently accepting pull requests for this repository. We'd love to have your contributions! Please see Contributing.md for how to get started.
This work is distributed under the MIT License. See LICENSE file.