Skip to main content

touch

Function touch 

Source
pub fn touch(fm: &mut Frontmatter)
Expand description

Stamp the auto-maintained timestamp fields on a user-initiated write: always refresh updated, and set created once (only if absent). Reconcile/linkify housekeeping must NOT call this — only meaningful user edits bump updated.