refactor: comprehensive codebase improvements and documentation

- Enhanced error handling with expanded GhostError variants and From impls
- Fixed race conditions in TUI (ui.rs unwrap calls)
- Added comprehensive module documentation with doc comments
- Improved type safety with proper validation in DetectionConfig
- Implemented Linux process enumeration via procfs
- Refactored TUI for better state management and removed emojis
- Enhanced CLI with proper logging initialization
- Added example configuration file (examples/ghost.toml)
- Updated README with complete feature documentation
- Added performance optimizations (saturating arithmetic, reduced clones)
- Improved testing framework with proper struct initialization
- Added validation and preset modes to DetectionConfig
This commit is contained in:
pandaadir05
2025-11-17 21:28:37 +02:00
parent 9ef666ba9d
commit 96b0d12099
14 changed files with 879 additions and 236 deletions

View File

@@ -4,7 +4,13 @@
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(cargo new:*)",
"Bash(cargo check:*)"
"Bash(cargo check:*)",
"Bash(tree:*)",
"Bash(find:*)",
"Bash(cargo clippy:*)",
"Bash(cargo build:*)",
"Bash(source ~/.zshrc)",
"Bash(source ~/.cargo/env)"
],
"deny": [],
"ask": []