|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Functions | |
| Tuple[bool, str] | filtered_diff (str file1, str file2) |
| None | oks_format (str input_file, bool fix=False) |
| Tuple[bool, str] filtered_diff | ( | str | file1, |
| str | file2 ) |
Execute a diff between two files with optional regex-based filtering.
Args:
file1: Path to the first file
file2: Path to the second file
filter_patterns: List of regex patterns to filter out from diff output.
Lines matching any pattern will be excluded from the diff.
Returns:
Tuple of (has_diff, diff_output) where:
has_diff: True if there are differences after filtering, False otherwise
diff_output: String containing the unified diff output
Definition at line 10 of file oks_format.py.
| None oks_format | ( | str | input_file, |
| bool | fix = False ) |
Definition at line 64 of file oks_format.py.