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

Method GetRelease

service/release/iml.go:428–434  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

426}
427
428func (s *imlReleaseService) GetRelease(ctx context.Context, id string) (*Release, error) {
429 r, err := s.releaseStore.GetByUUID(ctx, id)
430 if err != nil {
431 return nil, err
432 }
433 return FromEntity(r), nil
434}
435
436//
437//func (s *imlReleaseService) Diff(ctx context.Context, baseReleaseId string, targetReleaseId string) (*Diff, error) {

Callers 1

GetRunningMethod · 0.95

Calls 1

FromEntityFunction · 0.70

Tested by

no test coverage detected