Skip to main content

delete_tag

Function delete_tag 

Source
pub fn delete_tag(db: &Db, name: &str) -> Result<bool, Error>
Expand description

Retract a tag, leaving an audited tombstone.

The record is REWRITTEN with deleted: true, not removed: it keeps the original at_seq so history stays answerable, and it is what makes the name permanently unusable. Returns false when there was no live tag to delete (never created, or already deleted) — that is not an error, but it is also not silence: the boolean is the answer.