MCPcopy
hub / github.com/supabase/auth / Add

Method Add

internal/reloader/reloader.go:330–330  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

328
329type watcher interface {
330 Add(path string) error
331 Close() error
332 Events() chan fsnotify.Event
333 Errors() chan error

Implementers 2

fsNotifyWatcherinternal/reloader/reloader.go
mockWatcherinternal/reloader/reloader.go

Calls

no outgoing calls

Tested by 15

TestMethodsFunction · 0.52
TestLoggerFunction · 0.52
TestWatchNotifyFunction · 0.52
TestReloadCheckAtFunction · 0.52
TestAtomicHandlerRacesFunction · 0.52
TestAtomicHandlerFunction · 0.52
TestPollerFunction · 0.52
TestGetIPAddressWithXFFFunction · 0.52
TestNormalUseMethod · 0.52
TestMaliciousReuseMethod · 0.52
TestConcurrentReuseMethod · 0.52
TestFailToSaveReuseMethod · 0.52