14 lines
250 B
Go
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)
|
|
}
|