How denzelvw-xyz/file-integrity-checker works
This is a small interactive CLI for creating and checking file-integrity baselines. The user chooses Scan or Check; scanning hashes files into a JSON baseline, while checking compares current files with that baseline and reports unchanged, changed, deleted, and new files. The runtime is implemented in one script, so nodes represent responsibilities within that script rather than separate modules. The documented workflow and the checker.py excerpt support the shown relationships.
Main entry points: checker.py Interactive CLI
Components 8
Interaction
- Interactive CLI
checker.py - Option selector
Baseline creation
- Directory scan
checker.py - SHA-256 hashing
checker.py - JSON baseline
checker.py
Integrity checking
- Baseline comparison
checker.py - Status output
checker.py
Other components
- User
Connections 9
- User → Interactive CLI: chooses mode
README.md - Interactive CLI → Option selector: prompts choice
checker.py - Interactive CLI → Directory scan: runs Scan
checker.py - Directory scan → SHA-256 hashing: hashes contents
checker.py - Directory scan → JSON baseline: writes hashes
checker.py - Interactive CLI → Baseline comparison: runs Check
checker.py - Baseline comparison → JSON baseline: reads hashes
checker.py - Baseline comparison → SHA-256 hashing: hashes current files
checker.py - Baseline comparison → Status output: prints statuses
checker.py