Skip to main content

run

Function run 

Source
pub fn run(path: String, anchor: Option<String>, reason: String) -> Result<()>
Expand description

Run the git chronicle flag command.

Flags the most recent annotation for a code region as potentially inaccurate.

  1. Find commits that touched the file via git log –follow.
  2. For each commit (newest first), look for an annotation with a matching region.
  3. Append a Flag correction to that region.
  4. Write the updated annotation back.