MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / cloneInterceptorMetadataAny

Function cloneInterceptorMetadataAny

internal/pluginhost/adapters.go:2252–2258  ·  view source on GitHub ↗
(value reflect.Value, visited map[metadataCloneVisit]reflect.Value)

Source from the content-addressed store, hash-verified

2250}
2251
2252func cloneInterceptorMetadataAny(value reflect.Value, visited map[metadataCloneVisit]reflect.Value) any {
2253 cloned := cloneInterceptorMetadataReflectValue(value, visited)
2254 if !cloned.IsValid() {
2255 return nil
2256 }
2257 return cloned.Interface()
2258}
2259
2260func cloneInterceptorMetadataReflectValue(value reflect.Value, visited map[metadataCloneVisit]reflect.Value) reflect.Value {
2261 if !value.IsValid() {

Callers 1

cloneInterceptorMetadataFunction · 0.85

Tested by

no test coverage detected