MCPcopy Create free account
hub / github.com/OpenCSGs/csghub-server / GetRepoLastCommit

Method GetRepoLastCommit

builder/git/gitserver/interface.go:30–30  ·  view source on GitHub ↗
(ctx context.Context, req GetRepoLastCommitReq)

Source from the content-addressed store, hash-verified

28 GetRepoBranches(ctx context.Context, req GetBranchesReq) ([]types.Branch, error)
29 GetRepoCommits(ctx context.Context, req GetRepoCommitsReq) ([]types.Commit, *types.RepoPageOpts, error)
30 GetRepoLastCommit(ctx context.Context, req GetRepoLastCommitReq) (*types.Commit, error)
31 GetSingleCommit(ctx context.Context, req GetRepoLastCommitReq) (*types.CommitResponse, error)
32 GetCommitDiff(ctx context.Context, req GetRepoLastCommitReq) ([]byte, error)
33 GetRepoFileTree(ctx context.Context, req GetRepoInfoByPathReq) ([]*types.File, error)

Callers 2

SDKModelInfoMethod · 0.65
LastCommitMethod · 0.65

Implementers 2

Clientbuilder/git/gitserver/gitaly/client.go
Clientbuilder/git/gitserver/gitea/client.go

Calls

no outgoing calls

Tested by

no test coverage detected