ReMe/reme2/component/file_watcher/full_file_watcher.py
Sen Huang 2396e4a854
feat(file-watcher): enhance base file watcher with file graph persistence (#217)
- replace watch_paths parameter with single watch_path string
- add FileGraph integration for tracking file relationships
- implement persistent graph storage in .reme directory
- add load/build graph functionality on start
- refactor file change handling with separate methods for add/modify/delete
- update scan_existing_files to work with single path
- add file filter to exclude meta directory from watching
- remove abstract method requirement and implement concrete change handlers

BREAKING CHANGE: watch_paths parameter changed to watch_path (single path)
2026-04-27 18:03:47 +08:00

9 lines
287 B
Python

"""Full file watcher for all supported file types."""
from .base_file_watcher import BaseFileWatcher
from ..component_registry import R
@R.register("full")
class FullFileWatcher(BaseFileWatcher):
"""Watches all supported file types and delegates parsing to registered parsers."""