Skip to main content

stamp_id

Function stamp_id 

Source
pub fn stamp_id(
    content: &str,
    id: &str,
) -> Result<Option<String>, FrontmatterError>
Expand description

Writes only id, for project files. Existing IDs return None so startup can leave an already identified project byte-for-byte untouched.