Skip to content

Commit

Permalink
clean up repo interface
Browse files Browse the repository at this point in the history
  • Loading branch information
asiyani committed Oct 14, 2024
1 parent 70a615e commit dbc2d72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
4 changes: 1 addition & 3 deletions git/repos.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ type Repositories interface {
Clone(ctx context.Context, remote, dst, branch, pathspec string, rmGitDir bool) (string, error)
Hash(ctx context.Context, remote, ref, path string) (string, error)
Mirror(ctx context.Context, remote string) error
ObjectExists(ctx context.Context, remote, obj string) error
Repository(remote string) (*mirror.Repository, error)
Subject(ctx context.Context, remote, hash string) (string, error)
BranchCommits(ctx context.Context, remote, branch string) ([]mirror.CommitInfo, error)
MergeCommits(ctx context.Context, remote, branch string) ([]mirror.CommitInfo, error)
MergeCommits(ctx context.Context, remote, mergeCommitHash string) ([]mirror.CommitInfo, error)
}
29 changes: 0 additions & 29 deletions git/repos_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dbc2d72

Please sign in to comment.