🚧 Get files

This commit is contained in:
Dan Jones 2023-08-29 07:15:01 -05:00
commit 3ae78a6704
2 changed files with 15 additions and 10 deletions

13
files/source.go Normal file
View file

@ -0,0 +1,13 @@
package files
import (
"codeberg.org/danjones000/strip-beats/config"
"path/filepath"
)
func GetCandidates() []string {
source := config.GetConfig().Source
ret, _ := filepath.Glob(filepath.Join(source, "*/*"))
return ret
}