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

Method CreateMatchingRule

reconciliation.go:1112–1130  ·  view source on GitHub ↗

CreateMatchingRule creates a new matching rule after validating it. Parameters: - ctx: The context for managing the request. - rule: The matching rule to be created. Returns the created rule, or an error if validation or storage fails.

(ctx context.Context, rule model.MatchingRule)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

validateRuleMethod · 0.95
GenerateUUIDWithSuffixFunction · 0.92
RecordMatchingRuleMethod · 0.65

Tested by

no test coverage detected