glob(
self,
pattern: str,
path: str | None = None,
) -> GlobResultFind files matching a glob pattern, routing by path prefix.
Routes to backends based on path: a routed path searches that route,
"/" or None searches every backend, and a non-route path searches
only the default backend.
When merging across routes, a pattern that targets a route is rewritten
relative to that route's internal root (see _strip_route_from_pattern);
a bare pattern is forwarded unchanged and matches recursively within
every route; and a root-anchored pattern that targets no route skips the
routed backends entirely, since their results are always deeper than the
anchor permits (see _route_glob_pattern).