MCPcopy Create free account
hub / github.com/corestoreio/pkg / CutToLength

Function CutToLength

util/strs/strings.go:262–267  ·  view source on GitHub ↗

END Copyright (c) 2013 The Go Authors. CutToLength cuts a long string at maxLength. If shorter, nothing changes.

(data string, maxLength int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected