Cotal TypeScript packages
    Preparing search index...

    Function folderSpace

    • The one space REGISTERED at the root of the project folder cwd is in, which a command without --space targets there while it runs, or, with none registered, the space of the root's own half started or half stopped stack (unfinishedStackSpace). Undefined outside a project and where the root has none or several. A caller inspecting the folder itself can refuse an ambiguous registration instead. A space prepared here and never started is not one: see folderSpaceHeld.

      Parameters

      • cwd: string
      • __namedParameters: { refuseAmbiguous?: boolean } = {}

      Returns string | undefined