Skip to content
Simple library for collecting list of files for a given base path in a file system.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
collector
AUTHORS
CONTRIBUTING.md
LICENSE
README.md

README.md

go-collector

Description

go-collector is a simple library for collecting a list of files from a given path in a filesystem.

Installation

go get github.com/spatialcurrent/go-collector

Usage

Import

import (
  "github.com/spatialcurrent/go-collector/collector"
)

CollectFilepaths

func CollectFilepaths(basepath string, extensions []string, recursive bool, paths []string) ([]string, error) {
  ...
}

Contributing

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.

License

This work is distributed under the MIT License. See LICENSE file.

You can’t perform that action at this time.