MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / SetAuthToken

Function SetAuthToken

internal/libs/metadatautil/metadatautil.go:9–11  ·  view source on GitHub ↗
(md metadata.MD, token string)

Source from the content-addressed store, hash-verified

7)
8
9func SetAuthToken(md metadata.MD, token string) {
10 md.Set(MetadataKeyAuthToken, token)
11}
12
13func GetAuthToken(md metadata.MD) string {
14 chunks := md.Get(MetadataKeyAuthToken)

Callers 1

metadataAnnotatorMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected