MCPcopy
hub / github.com/Textualize/toolong / WatchedFile

Class WatchedFile

src/toolong/watcher.py:31–36  ·  view source on GitHub ↗

A currently watched file.

Source from the content-addressed store, hash-verified

29@dataclass
30@rich.repr.auto
31class WatchedFile:
32 """A currently watched file."""
33
34 log_file: LogFile
35 callback: Callable[[int, list[int]], None]
36 error_callback: Callable[[Exception], None]
37
38
39class WatcherBase(ABC):

Callers 1

addMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected