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

Method GetSourceDestination

database/mocks/repo_mocks.go:328–331  ·  view source on GitHub ↗
(sourceId, destinationId string)

Source from the content-addressed store, hash-verified

326}
327
328func (m *MockDataSource) GetSourceDestination(sourceId, destinationId string) ([]*model.Balance, error) {
329 args := m.Called(sourceId, destinationId)
330 return args.Get(0).([]*model.Balance), args.Error(1)
331}
332
333func (m *MockDataSource) GetBalanceAtTime(ctx context.Context, balanceID string, targetTime time.Time, fromSource bool) (*model.Balance, error) {
334 args := m.Called(ctx, balanceID, targetTime, fromSource)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected