-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Feature Request
Add more granular control over which files and folders are excluded from timestamp calculations.
Current State
- Basic exclusion through
skip_generatedflag - ExclusionFilter class exists but could be enhanced
Proposed Enhancements
- Hidden Files: Option to exclude files starting with '.'
- System Files: Enhanced detection of system-generated files
- Custom Patterns: User-defined glob patterns for exclusion
- Per-OS Rules: Different rules for Windows vs Unix systems
Example API
filter = ExclusionFilter(
skip_hidden=True,
skip_system=True,
custom_patterns=['*.tmp', '*.cache'],
os_specific=True
)Benefits
- More precise control over what affects folder timestamps
- Better performance by skipping irrelevant files
- Cleaner results for user-facing applications
Related Work
This was identified during the DazzleTreeLib error handling improvements (v0.9.2) but deferred to focus on core functionality.
Metadata
Metadata
Assignees
Labels
No labels