Cotal TypeScript packages
    Preparing search index...

    Function segmentedKey

    • The KEY SHAPE alone — space.<hex>/<kind> — resolving nothing and moving nothing.

      THE ONE SPELLING of the segmented key, so spaceMaterialKey and the two owners below cannot drift into two layouts. It is exported for the owners that must NOT move material, and there are exactly two kinds of those:

      • DELETERS. clean's store-seam sweep names the keys it is about to remove; migrating material into the path it will then delete is work done to undo itself, and on the refusal paths (§2 rules 3 and 4) it would fail the sweep for material the sweep does not care about.
      • THE RENEWAL OWNER. REMINTABLE_DAEMON_CREDS's (space) => key builders (§3.1) feed remintDaemonCreds, which has NO absent-means-mint path — its absence case is a loud skipped: "missing-file", never a second cred — and which may hold an INJECTED store while still being handed a workstation root it does not own (the Manager constructor defaults the store, so store !== undefined is not the hosted fact there). The hazard rule 1 exists to stop is not reachable from it, and up's provisioners migrate before any daemon exists to renew.

      Every other caller wants spaceMaterialKey: reaching for this one to skip a migration is the read-fallback the design forbids.

      Parameters

      • kind: string
      • space: string

      Returns string