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

Method Watch

internal/storage/memory/watch.go:24–35  ·  view source on GitHub ↗

Watch - Watches for changes in the repository.

(_ context.Context, _, _ string)

Source from the content-addressed store, hash-verified

22
23// Watch - Watches for changes in the repository.
24func (r *Watch) Watch(_ context.Context, _, _ string) (<-chan *base.DataChanges, <-chan error) {
25 tupleChanges := make(chan *base.DataChanges)
26 errs := make(chan error)
27
28 slog.Info(base.ErrorCode_ERROR_CODE_NOT_IMPLEMENTED.String())
29
30 // Close the channels immediately
31 close(tupleChanges)
32 close(errs)
33
34 return tupleChanges, errs
35}

Callers

nothing calls this directly

Calls 3

closeFunction · 0.85
InfoMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected