Skip to main content

get_tag

Function get_tag 

Source
pub fn get_tag(db: &Db, name: &str) -> Option<TagRecord>
Expand description

A live tag by name. None for a name that was never tagged AND for one whose tag was deleted — both mean “no tag here now”. Use get_tag_including_deleted to tell the two apart.