Skip to main content

track_file_modification

Function track_file_modification 

Source
pub fn track_file_modification(
    state: AttributionState,
    file_path: &str,
    old_content: &str,
    new_content: &str,
    _user_modified: bool,
    mtime: Option<u64>,
) -> AttributionState
Expand description

Track a file modification by Claude. Called after Edit/Write tool completes.