src/server/pkg/hashtree/db.go
func (h *dbHashTree) Glob(pattern string, f func(string, *NodeProto) error) error {
	pattern = clean(pattern)
	return h.View(func(tx *bolt.Tx) error {
		return glob(tx, pattern, f)
	})
}
func (h *dbHashTree) Glob(pattern string, f func(string, *NodeProto) error) error {
	pattern = clean(pattern)
	return h.View(func(tx *bolt.Tx) error {
		return glob(tx, pattern, f)
	})
}
// Glob executes a callback for each path that matches the glob pattern.