fix: restore store interface lint suppressions · Entire
fix: restore store interface lint suppressions
f071731→main·peyton-alt·3w ago·2 files·+6 added/-0 removed
Sessions
b8bd53b01bbaView transcript
Changes
2
cmd/entire/cli
checkpoint
Mopen.go+2
strategy
Mmanual_commit.go+4
54 unmodified lines
55
56
57
58
59
60
61
62
54 unmodified lines
// Temporary returns the git-backed temporary shadow-branch store.
//
//nolint:ireturn // temporary store capability is the abstraction boundary
func (s *Stores) Temporary() TemporaryStore { return s.temporary }
// Refs returns the resolved committed-ref topology.
Mcmd/entire/cli/checkpoint/open.go+2
51 unmodified lines
52
53
54
55
56
57
58
59
4 unmodified lines
64
65
66
67
68
69
70
71
51 unmodified lines
// topology. Writes target refs.Primary; reads target refs.Read. The strategy's
// blob fetcher is wired in so reads can fetch blobs on demand after a treeless
// fetch.
//
//nolint:ireturn // committed store capability is the abstraction boundary
func (s *ManualCommitStrategy) getCheckpointStore(ctx context.Context, repo *git.Repository) (checkpoint.CommittedStore, error) {
stores, err := s.getCheckpointStores(ctx, repo)
if err != nil {
4 unmodified lines
// getTemporaryStore returns the git-backed shadow-branch store with the
// strategy's blob fetcher wired in.
//
//nolint:ireturn // temporary store capability is the abstraction boundary
func (s *ManualCommitStrategy) getTemporaryStore(ctx context.Context, repo *git.Repository) (checkpoint.TemporaryStore, error) {
stores, err := s.getCheckpointStores(ctx, repo)
if err != nil {
Mcmd/entire/cli/strategy/manual_commit.go+4