MCPcopy Create free account
hub / github.com/JordanCoin/codemap / FileCount

Method FileCount

watch/daemon.go:133–137  ·  view source on GitHub ↗

FileCount returns current tracked file count

()

Source from the content-addressed store, hash-verified

131
132// FileCount returns current tracked file count
133func (d *Daemon) FileCount() int {
134 d.graph.mu.RLock()
135 defer d.graph.mu.RUnlock()
136 return len(d.graph.Files)
137}
138
139// WriteInitialState writes state after initial scan (for hooks)
140func (d *Daemon) WriteInitialState() {

Callers 3

handleStartWatchFunction · 0.95
StartMethod · 0.95
TestDaemonStartStopFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestDaemonStartStopFunction · 0.76