MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / SaveCache

Method SaveCache

module/ai-local/iml.go:352–354  ·  view source on GitHub ↗
(ctx context.Context, model string, target string)

Source from the content-addressed store, hash-verified

350}
351
352func (i *imlLocalModel) SaveCache(ctx context.Context, model string, target string) error {
353 return i.localModelCacheService.Save(ctx, model, ai_local.CacheTypeService, target)
354}
355
356func (i *imlLocalModel) CancelDeploy(ctx context.Context, model string) error {
357 return i.transaction.Transaction(ctx, func(txCtx context.Context) error {

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.65

Tested by

no test coverage detected