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

Function bucketCtx

base/logging_context.go:185–187  ·  view source on GitHub ↗

BucketCtx extends the parent context with a bucket name.

(parent context.Context, b Bucket)

Source from the content-addressed store, hash-verified

183
184// BucketCtx extends the parent context with a bucket name.
185func bucketCtx(parent context.Context, b Bucket) context.Context {
186 return BucketNameCtx(parent, b.GetName())
187}
188
189// getLogContext returns a log context possibly extending from previous context.
190func getLogCtx(ctx context.Context) LogContext {

Callers 2

GetWalrusTestBucketMethod · 0.85
getTestBucketAndSpecMethod · 0.85

Calls 2

BucketNameCtxFunction · 0.85
GetNameMethod · 0.65

Tested by

no test coverage detected