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

Method GetMatchingRule

database/repository.go:163–163  ·  view source on GitHub ↗

Retrieves all matching rules

(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

161 RecordMatchingRule(ctx context.Context, rule *model.MatchingRule) error // Records a matching rule
162 GetMatchingRules(ctx context.Context) ([]*model.MatchingRule, error) // Retrieves all matching rules
163 GetMatchingRule(ctx context.Context, id string) (*model.MatchingRule, error) // Retrieves a matching rule by ID
164 UpdateMatchingRule(ctx context.Context, rule *model.MatchingRule) error // Updates a matching rule
165 DeleteMatchingRule(ctx context.Context, id string) error // Deletes a matching rule
166 SaveReconciliationProgress(ctx context.Context, reconciliationID string, progress model.ReconciliationProgress) error // Saves reconciliation progress

Callers 1

GetMatchingRuleMethod · 0.65

Implementers 2

Datasourcedatabase/db.go
MockDataSourcedatabase/mocks/repo_mocks.go

Calls

no outgoing calls

Tested by

no test coverage detected