mirror of
https://github.com/vbatts/sl-feeds.git
synced 2025-07-25 16:30:28 +00:00
*: golint
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
e646c9daef
commit
c5585b2c1d
2 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,8 @@ import (
|
|||
"path/filepath"
|
||||
)
|
||||
|
||||
// FindFiles is a convenience for walk a directory tree for a particular file
|
||||
// name.
|
||||
func FindFiles(root, name string) (paths []string, err error) {
|
||||
paths = []string{}
|
||||
err = filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue