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

Function updateSkillRefsInContent

pkg/cli/update_actions.go:688–690  ·  view source on GitHub ↗
(ctx context.Context, content string, allowMajor, verbose bool, coolDown time.Duration)

Source from the content-addressed store, hash-verified

686type skillRefUpdateResolver func(ctx context.Context, repo, currentRef string, allowMajor, verbose bool, coolDown time.Duration) (string, error)
687
688func updateSkillRefsInContent(ctx context.Context, content string, allowMajor, verbose bool, coolDown time.Duration) (bool, string, error) {
689 return updateSkillRefsInContentWithResolver(ctx, content, allowMajor, verbose, coolDown, resolveLatestRef)
690}
691
692func updateSkillRefsInContentWithResolver(
693 ctx context.Context,

Callers 1

Tested by

no test coverage detected