MCPcopy
hub / github.com/harness/harness / Decode

Method Decode

cache/redis_cache.go:45–45  ·  view source on GitHub ↗
(encoded string)

Source from the content-addressed store, hash-verified

43
44type Decoder[V any] interface {
45 Decode(encoded string) (V, error)
46}
47
48type Codec[V any] interface {

Callers 15

decodePayloadFunction · 0.95
registerDeserializersMethod · 0.95
FromJSONMethod · 0.95
SanitizeJSONPayloadFunction · 0.95
processImagePullResponseFunction · 0.95
ReaderRegisterEventFunction · 0.95
GetMethod · 0.65
doMethod · 0.65
streamMethod · 0.65
getRefsMethod · 0.65

Implementers 1

commitValueCodecgit/api/last_commit_cache.go

Calls

no outgoing calls

Tested by 7

TestWriteErrorfFunction · 0.52
TestWriteErrorCodeFunction · 0.52
TestWriteNotFoundFunction · 0.52
TestWriteUnauthorizedFunction · 0.52
TestWriteForbiddenFunction · 0.52
TestWriteBadRequestFunction · 0.52
TestJSONArrayDynamicFunction · 0.52