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

Method RecordMatchingRule

database/mocks/repo_mocks.go:526–529  ·  view source on GitHub ↗
(ctx context.Context, rule *model.MatchingRule)

Source from the content-addressed store, hash-verified

524}
525
526func (m *MockDataSource) RecordMatchingRule(ctx context.Context, rule *model.MatchingRule) error {
527 args := m.Called(ctx, rule)
528 return args.Error(0)
529}
530
531func (m *MockDataSource) GetMatchingRules(ctx context.Context) ([]*model.MatchingRule, error) {
532 args := m.Called(ctx)

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected