Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
17
func
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
Get
Method · 0.85
Get
Method · 0.85
Latest
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected