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

Function contextStringValue

sdk/cliproxy/auth/conductor.go:4772–4781  ·  view source on GitHub ↗
(raw any)

Source from the content-addressed store, hash-verified

4770}
4771
4772func contextStringValue(raw any) string {
4773 switch v := raw.(type) {
4774 case string:
4775 return strings.TrimSpace(v)
4776 case []byte:
4777 return strings.TrimSpace(string(v))
4778 default:
4779 return ""
4780 }
4781}
4782
4783func homeExecutionSessionIDFromMetadata(meta map[string]any) string {
4784 if len(meta) == 0 {

Callers 2

accessMetadataSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected