@maverickcer/env-cap
    Preparing search index...

    Function discoverSchemaFiles

    • Finds every schema file matching include/exclude under root, returned as absolute paths in deterministic (alphabetically sorted) order.

      Parameters

      • options: DiscoverOptions

      Returns Promise<string[]>

      No external glob dependency: directories are pruned during the walk (both a hardcoded node_modules/.git skip and the caller's exclude patterns), rather than walked in full and filtered afterward -- walking an entire node_modules tree just to discard it is not acceptable for a tool meant to run against real projects.