MCPcopy Index your code
hub / github.com/cli/cli / GetCodespaceRepositoryContents

Method GetCodespaceRepositoryContents

pkg/cmd/codespace/common.go:81–81  ·  view source on GitHub ↗
(ctx context.Context, codespace *api.Codespace, path string)

Source from the content-addressed store, hash-verified

79 GetCodespacesMachines(ctx context.Context, repoID int64, branch string, location string, devcontainerPath string) ([]*api.Machine, error)
80 GetCodespacesPermissionsCheck(ctx context.Context, repoID int64, branch string, devcontainerPath string) (bool, error)
81 GetCodespaceRepositoryContents(ctx context.Context, codespace *api.Codespace, path string) ([]byte, error)
82 ListDevContainers(ctx context.Context, repoID int64, branch string, limit int) (devcontainers []api.DevContainerEntry, err error)
83 GetCodespaceRepoSuggestions(ctx context.Context, partialSearch string, params api.RepoSearchParameters) ([]string, error)
84 GetCodespaceBillableOwner(ctx context.Context, nwo string) (*api.User, error)

Callers 1

getDevContainerFunction · 0.65

Implementers 2

apiClientMockpkg/cmd/codespace/mock_api.go
APIinternal/codespaces/api/api.go

Calls

no outgoing calls

Tested by

no test coverage detected