Skip to main content

Module delete

Module delete 

Source
Expand description

Engine::delete_entity — remove an entity from a mount’s backend and the in-memory store.

Structs§

DeleteReferrers
The would-be delete outcome for an entity, derived purely from the in-memory graph (no mutation). write_referrers are the Write-Mem sources that block a delete (HAS_INCOMING_REFS); readonly_referrers are ReadOnly-mount sources that instead trigger the residual-stub demotion. Both empty ⇒ a clean removal. Shared by Engine::delete_entity (the real guard) and the CLI delete --dry-run preview so the preview’s verdict cannot drift from the real outcome.