MCPcopy Create free account
hub / github.com/pydio/cells / update

Method update

common/config/sql/sql.go:222–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220}
221
222func (s *SQL) update() {
223 for _, w := range s.watchers {
224 v := s.Val(w.path...).Bytes()
225 select {
226 case w.updates <- v:
227 default:
228 }
229 }
230}
231
232func (s *SQL) Del() error {
233 return s.Set(nil)

Callers 1

SetMethod · 0.95

Calls 2

ValMethod · 0.95
BytesMethod · 0.65

Tested by

no test coverage detected