Cotal TypeScript packages
    Preparing search index...

    Function removeMeshesByRoot

    • Drop the entries recorded for THIS project root because the mesh they describe was just stopped or wiped (cotal down / cotal clean all), releasing the current pointer if it names one. keep names a space the caller records again as prepared, as a controller stack's down does: a selection naming it stays, so the next bare command refuses that stopped space rather than falling through to another one. retain names a space whose registration stays, with a selection naming it, as a legacy down keeps one that keepsRegistration. Returns the removed space names.

      OPERATOR-REGISTERED entries are skipped. The root is shared, not owned: cotal meshes add defaults --root to the project you run it in, so registering a mesh that runs elsewhere from inside your own project files both records under one root. Tearing down THIS project's mesh says nothing about the remote one, and deleting its record here is the unrecoverable case (down can rewrite what up wrote; nothing rewrites a hand-registered record). cotal meshes rm is how one of those leaves.

      Parameters

      • root: string
      • Optionalkeep: string
      • Optionalretain: string

      Returns string[]