diff options
| author | Christopher <christopher@rstor.io> | 2018-04-13 13:56:19 +0200 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2018-04-13 07:56:19 -0400 |
| commit | f867f3564dc2e3337f9481c684edd0c33df25648 (patch) | |
| tree | aefbf97bb02485fcdc2e9c2aee731a6791a996f1 /vendor/github.com | |
| parent | 0d857a14e86acd66ebaf9e4a2f1b738fe05099e5 (diff) | |
New function proposal: `files.Walk` (#281)
* Update file.go
Glob function
* returns all the paths of every file inside a directory
* added TrimPrefix function
* avoiding errors when no directory or file is founded
* adapted TrimPrefix to work on pipelines
* tests added for string.TrimPrefix
* strings.TrimSuffix function removed from this PR
* Walk function created
* WalkTest modified to make it compatible with other OS
* first path must be os agnostic too
Diffstat (limited to 'vendor/github.com')
0 files changed, 0 insertions, 0 deletions
