Member Junction
    Preparing search index...
    • Resolves an output directory and throws an OutputInsideRepoError when it is inside a git working tree: the one found by walking up from the directory itself, or any of repoRoots (the rig's own repository, for example). Returns the resolved directory.

      Parameters

      • outputPath: string

        The output directory, as given; it need not exist yet.

      • repoRoots: readonly string[] = []

        Repositories the directory must also stay out of.

      Returns string