MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / GetInfo

Method GetInfo

service/api/iml.go:137–144  ·  view source on GitHub ↗
(ctx context.Context, aid string)

Source from the content-addressed store, hash-verified

135}
136
137func (i *imlAPIService) GetInfo(ctx context.Context, aid string) (*Info, error) {
138
139 info, err := i.apiInfoStore.GetByUUID(ctx, aid)
140 if err != nil {
141 return nil, err
142 }
143 return FromEntityInfo(info), nil
144}
145
146func (i *imlAPIService) Save(ctx context.Context, id string, model *Edit) error {
147 if model == nil {

Callers

nothing calls this directly

Calls 1

FromEntityInfoFunction · 0.85

Tested by

no test coverage detected