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

Function newCommit

service/universally/commit/model.go:17–26  ·  view source on GitHub ↗
(e *commit.Commit[H])

Source from the content-addressed store, hash-verified

15}
16
17func newCommit[H any](e *commit.Commit[H]) *Commit[H] {
18 return &Commit[H]{
19 UUID: e.UUID,
20 Target: e.Target,
21 Key: e.Key,
22 Data: e.Data,
23 CreateAt: e.CreateAt,
24 Operator: e.Operator,
25 }
26}

Callers 3

GetMethod · 0.85
GetMethod · 0.85
LatestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected