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

Method GetMatchingRule

database/mocks/repo_mocks.go:536–539  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

534}
535
536func (m *MockDataSource) GetMatchingRule(ctx context.Context, id string) (*model.MatchingRule, error) {
537 args := m.Called(ctx, id)
538 return args.Get(0).(*model.MatchingRule), args.Error(1)
539}
540
541func (m *MockDataSource) UpdateMatchingRule(ctx context.Context, rule *model.MatchingRule) error {
542 args := m.Called(ctx, rule)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected