MCPcopy Create free account
hub / github.com/diillson/chatcli / Close

Method Close

cli/plugins/manager.go:62–68  ·  view source on GitHub ↗

Close encerra o watcher de arquivos de forma segura.

()

Source from the content-addressed store, hash-verified

60
61// Close encerra o watcher de arquivos de forma segura.
62func (m *Manager) Close() {
63 m.closeOnce.Do(func() {
64 if m.watcher != nil {
65 _ = m.watcher.Close()
66 }
67 })
68}
69
70// watchForChanges escuta por eventos no diretório de plugins e aciona o Reload.
71func (m *Manager) watchForChanges() {

Callers 1

RunServerFunction · 0.95

Implementers 2

MockTokenManagerllm/token/mock_token_manager.go
TokenManagerllm/token/token_manager.go

Calls 2

DoMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected