Skip to main content

parse_file_changed

Function parse_file_changed 

Source
pub fn parse_file_changed(input: &Value) -> Option<FileChangedPayload>
Expand description

Parse one raw FileChanged hook payload.

Invalid or unrelated payloads return None so the hook can fail open without reparsing a path it did not understand.