예제 #1
0
func GetCommitInfo(apiClient pfs.ApiClient, repositoryName string, commitID string) (*pfs.CommitInfo, error) {
	return apiClient.GetCommitInfo(
		context.Background(),
		&pfs.GetCommitInfoRequest{
			Commit: &pfs.Commit{
				Repository: &pfs.Repository{
					Name: repositoryName,
				},
				Id: commitID,
			},
		},
	)
}