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

Method isPercentageDistribution

model/transaction.go:143–145  ·  view source on GitHub ↗

isPercentageDistribution checks if a distribution is a percentage type

()

Source from the content-addressed store, hash-verified

141
142// isPercentageDistribution checks if a distribution is a percentage type
143func (d *Distribution) isPercentageDistribution() bool {
144 return strings.HasSuffix(d.Distribution, "%")
145}
146
147// processFixedDistributions handles the first pass: fixed amount distributions
148func processFixedDistributions(distributions []Distribution, state *distributionState) error {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected