MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / DispatchPersistedAuthUpdate

Method DispatchPersistedAuthUpdate

internal/watcher/watcher.go:165–167  ·  view source on GitHub ↗

DispatchPersistedAuthUpdate pushes already-persisted file auth updates through the watcher queue. Returns true if the update was enqueued; false if no queue is configured.

(update AuthUpdate)

Source from the content-addressed store, hash-verified

163// DispatchPersistedAuthUpdate pushes already-persisted file auth updates through the watcher queue.
164// Returns true if the update was enqueued; false if no queue is configured.
165func (w *Watcher) DispatchPersistedAuthUpdate(update AuthUpdate) bool {
166 return w.dispatchPersistedAuthUpdate(update)
167}
168
169// SnapshotCoreAuths converts current clients snapshot into core auth entries.
170func (w *Watcher) SnapshotCoreAuths() []*coreauth.Auth {

Callers 1

defaultWatcherFactoryFunction · 0.95

Calls 1

Tested by

no test coverage detected