Cotal TypeScript packages
    Preparing search index...

    Function folderSpaceStopped

    • The one space REGISTERED at the root of the project folder cwd is in, when it is not the selection current and the folder's own records show its stack stopped, read without dialing its broker: its stack journal's last whole-stack operation is a completed down, or, for a root the retained launcher started, no broker pidfile names a live process, as after its down or a crash. A controller stack writes no broker pidfile, so where its journal records anything else, as a running stack's does, the pidfile is not read. Commands here then target the selection, and bare cotal, which reads no broker, names it with what the folder holds. Undefined where the records do not show that, as for a controller stack whose members ended without a down, and for a space registered by hand or by a catalog, whose broker this machine does not start.

      Parameters

      • cwd: string
      • current: string

      Returns { root: string; space: string; state: "stopped" } | undefined