MCPcopy Create free account
hub / github.com/Permify/permify / Watch

Method Watch

internal/storage/storage.go:221–231  ·  view source on GitHub ↗
(_ context.Context, _, _ string)

Source from the content-addressed store, hash-verified

219}
220
221func (n *NoopWatcher) Watch(_ context.Context, _, _ string) (<-chan *base.DataChanges, <-chan error) {
222 // Create empty channels
223 aclChanges := make(chan *base.DataChanges)
224 errs := make(chan error)
225
226 // Close the channels immediately
227 close(aclChanges)
228 close(errs)
229
230 return aclChanges, errs
231}
232
233// TenantReader - Reads tenants from the storage.
234type TenantReader interface {

Callers

nothing calls this directly

Calls 1

closeFunction · 0.85

Tested by

no test coverage detected