MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / migrateIfInstruction

Method migrateIfInstruction

internal/entities/store.go:190–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188}
189
190func (s *Store) migrateIfInstruction() error {
191 if s.kind != KindInstruction {
192 return nil
193 }
194 return MigrateEntityStorage()
195}
196
197// MigrateEntityStorage migrates legacy prompt entities to instruction storage
198// idempotently. It reads prompts.json, converts each entity's Kind from

Callers 2

AllMethod · 0.95
allMapMethod · 0.95

Calls 1

MigrateEntityStorageFunction · 0.85

Tested by

no test coverage detected