MCPcopy Create free account
hub / github.com/github/gh-aw / truncateSHAForLog

Function truncateSHAForLog

pkg/workflow/action_cache.go:672–674  ·  view source on GitHub ↗
(sha string)

Source from the content-addressed store, hash-verified

670}
671
672func truncateSHAForLog(sha string) string {
673 return stringutil.Truncate(sha, 11)
674}
675
676// PruneStaleGHAWEntries removes entries from the cache for the gh-aw-actions
677// repository whose version does not match the current compiler version.

Callers 1

deduplicateEntriesMethod · 0.85

Calls 1

TruncateFunction · 0.92

Tested by

no test coverage detected