| 211 | var _ ILocalModelCacheService = &imlLocalModelCacheService{} |
| 212 | |
| 213 | type imlLocalModelCacheService struct { |
| 214 | store ai.ILocalModelCacheStore `autowired:""` |
| 215 | } |
| 216 | |
| 217 | func (i *imlLocalModelCacheService) GetByTarget(ctx context.Context, typ CacheType, target string) (*LocalModelCache, error) { |
| 218 | item, err := i.store.First(ctx, map[string]interface{}{"target": target, "type": typ.Int()}) |
nothing calls this directly
no outgoing calls
no test coverage detected