FileCount returns current tracked file count
()
| 131 | |
| 132 | // FileCount returns current tracked file count |
| 133 | func (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) |
| 140 | func (d *Daemon) WriteInitialState() { |
no outgoing calls