MCPcopy
hub / github.com/burke/zeus / FileMonitor

Interface FileMonitor

go/filemonitor/filemonitor.go:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8const DefaultFileChangeDelay = 300 * time.Millisecond
9
10type FileMonitor interface {
11 Listen() <-chan []string
12 Add(string) error
13 Close() error
14}
15
16type fileMonitor struct {
17 listeners []chan []string

Callers 19

TestFileMonitorFilesFunction · 0.95
runSessionFunction · 0.65
TestFileListenerFunction · 0.65
TestFileMonitorFilesFunction · 0.95
handleMessagesMethod · 0.65
readAndCompareFunction · 0.65
AddMethod · 0.65
TestFileListenerFunction · 0.65
checkWriteFunction · 0.65
serveMethod · 0.65
handleConnectionMethod · 0.65
TestFileMonitorFilesFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…