MCPcopy Create free account
hub / github.com/temporalio/temporal / Encode

Method Encode

chasm/tree.go:241–241  ·  view source on GitHub ↗
(node *Node, path []string)

Source from the content-addressed store, hash-verified

239 // Logic outside the chasm package should only work with encoded paths.
240 NodePathEncoder interface {
241 Encode(node *Node, path []string) (string, error)
242 // TODO: Return a iterator on node name instead of []string,
243 // so that we can get a node by encoded path without additional
244 // allocation for the decoded path.

Callers 12

EncodeMethod · 0.65
TestEncodeMethod · 0.65
StartOperationMethod · 0.65
encodeBlobFunction · 0.65
gobSerializeFunction · 0.65
buildDSNFunction · 0.65
buildDSNFunction · 0.65
encodeHexMethod · 0.65
StringMethod · 0.65
getEncodedPathMethod · 0.65

Implementers 3

JSONPBEncodercommon/codec/jsonpb.go
defaultPathEncoderchasm/path_encoder.go
testNodePathEncoderchasm/tree_test.go

Calls

no outgoing calls

Tested by 1

TestEncodeMethod · 0.52