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

Function writeCachePath

pkg/workflow/cache.go:445–457  ·  view source on GitHub ↗
(builder *strings.Builder, path any)

Source from the content-addressed store, hash-verified

443}
444
445func writeCachePath(builder *strings.Builder, path any) {
446 if path == nil {
447 return
448 }
449 if pathArray, isArray := path.([]any); isArray {
450 builder.WriteString(" path: |\n")
451 for _, p := range pathArray {
452 fmt.Fprintf(builder, " %v\n", p)
453 }
454 return
455 }
456 fmt.Fprintf(builder, " path: %v\n", path)
457}
458
459func writeCacheRestoreKeys(builder *strings.Builder, restoreKeys any) {
460 if restoreKeys == nil {

Callers 1

writeCacheStepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected