Cotal TypeScript packages
    Preparing search index...

    Function folderSpaceOverSelection

    • The space a command without --space targets in the project folder cwd is in when that is not the selection current: the root's one registered space, while it runs. offline names the spaces whose broker the caller found not answering, which do not capture a command; a caller that reads no broker passes none. Undefined with nothing selected, outside a project, and where the selection is the target.

      Parameters

      • cwd: string
      • current: string | null
      • offline: readonly string[] = []

      Returns string | undefined