MCPcopy Create free account
hub / github.com/boltrunner/gcli2api / truncateLongStringInImpl

Function truncateLongStringInImpl

internal/utils/utils.go:12–34  ·  view source on GitHub ↗

TruncateLongStringInObject recursively truncates long strings in a JSON-like object. It mimics the Python function truncate_long_strings_in_object.

(obj interface{}, n int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected