MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / ToLedger

Method ToLedger

api/model/model.go:209–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207}
208
209func (l *CreateLedger) ToLedger() model.Ledger {
210 return model.Ledger{Name: l.Name, MetaData: l.MetaData}
211}
212
213func (b *CreateBalance) ToBalance() model.Balance {
214 allocationStrategy := b.AllocationStrategy

Callers 2

CreateLedgerMethod · 0.95
TestToLedgerFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestToLedgerFunction · 0.76