arns-lt-tree-push-service/collector.go
Arnas Udovic 760753c7b8
All checks were successful
continuous-integration/drone/push Build is passing
moving to one source
2023-06-29 00:10:54 +03:00

14 lines
250 B
Go

package main
import (
zord_tree "g.arns.lt/zordsdavini/zord-tree"
"os"
)
func Collect() {
if _, err := os.Stat(source); os.IsNotExist(err) {
panic("Source directory does not exist.")
}
_ = zord_tree.PopulateTree(source, meta, customMeta)
}