Cotal TypeScript packages
    Preparing search index...

    Function rootControlProblem

    • Why root cannot be a project folder: it is, or is in, a control directory, by its own path or by the physical path its links lead to. A .cotal made there would sit among that directory's credentials and records, and start a second stack inside another project's. project is the folder that control directory belongs to, absent for the machine home's. Undefined when it can.

      Parameters

      • root: string

      Returns { controlDirectory: string; message: string; project?: string } | undefined