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

Method GetRepoFileTree

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

Source from the content-addressed store, hash-verified

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)
34 GetRepoFileRaw(ctx context.Context, req GetRepoInfoByPathReq) (string, error)
35 GetRepoFileReader(ctx context.Context, req GetRepoInfoByPathReq) (io.ReadCloser, int64, error)
36 GetRepoLfsFileRaw(ctx context.Context, req GetRepoInfoByPathReq) (io.ReadCloser, error)

Callers 3

hasEntryFileMethod · 0.65
GetDatasetTreeMethod · 0.65
TreeMethod · 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