5.3.1.24.9.1. cli.helpers.file_tracker.FileTracker
- class cli.helpers.file_tracker.FileTracker(tmp_dir: Path)
Track and persist hashes for selected files.
- __init__(tmp_dir: Path) None
Initialize the tracker and create its hash database if missing.
- Parameters:
tmp_dir – Directory used to store the persistent hash JSON file.
Methods
__init__(tmp_dir)Initialize the tracker and create its hash database if missing.
check_file_changed(file_path)Return whether the given file changed since the last recorded hash.