+ /**
+ * Glob either in a Path's base dir, or, if the path does not have a base
+ * dir set, in each REFPATH paths.
+ *
+ * @param \mdref\Path $path
+ * @param string $pattern glob pattern
+ * @param int $flags glob flags
+ * @return array glob result
+ */