Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/micro/go-micro
/ watcher
Struct
watcher
config/source/file/watcher.go:13–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
)
12
13
type
watcher
struct
{
14
f *file
15
16
fw *fsnotify.Watcher
17
}
18
19
func
newWatcher(f *file) (source.Watcher, error) {
20
fw, err := fsnotify.NewWatcher()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected