Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1288
func
(t *SafeTerminator) Close() {
1289
if
t.terminatorClosed.CompareAndSwap(false, true) {
1290
close(t.terminator)
1291
}
1292
}
1293
1294
func
Sha1HashString(str string, salt string) string {
1295
h := sha1.New()
Callers
2
StartOnlineProcesses
Method · 0.95
TestAttachmentCompactIncorrectStat
Function · 0.95
Calls
1
CompareAndSwap
Method · 0.80
Tested by
1
TestAttachmentCompactIncorrectStat
Function · 0.76