MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / Close

Method Close

base/util.go:1288–1292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1286}
1287
1288func (t *SafeTerminator) Close() {
1289 if t.terminatorClosed.CompareAndSwap(false, true) {
1290 close(t.terminator)
1291 }
1292}
1293
1294func Sha1HashString(str string, salt string) string {
1295 h := sha1.New()

Callers 2

StartOnlineProcessesMethod · 0.95

Calls 1

CompareAndSwapMethod · 0.80

Tested by 1