MCPcopy Create free account
hub / github.com/apache/fory / WithTrackRef

Function WithTrackRef

go/fory/fory.go:95–99  ·  view source on GitHub ↗

WithTrackRef sets reference tracking mode

(enabled bool)

Source from the content-addressed store, hash-verified

93
94// WithTrackRef sets reference tracking mode
95func WithTrackRef(enabled bool) Option {
96 return func(f *Fory) {
97 f.config.TrackRef = enabled
98 }
99}
100
101// WithRefTracking is deprecated, use WithTrackRef instead
102func WithRefTracking(enabled bool) Option {

Callers 5

TestTypeResolverFunction · 0.85
newRefOverrideTestForyFunction · 0.85
WithRefTrackingFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestTypeResolverFunction · 0.68
newRefOverrideTestForyFunction · 0.68