MCPcopy Create free account
hub / github.com/cli/cli / GetCodespaceRepositoryContents

Method GetCodespaceRepositoryContents

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

Source from the content-addressed store, hash-verified

80 GetCodespacesMachines(ctx context.Context, repoID int64, branch string, location string, devcontainerPath string) ([]*api.Machine, error)
81 GetCodespacesPermissionsCheck(ctx context.Context, repoID int64, branch string, devcontainerPath string) (bool, error)
82 GetCodespaceRepositoryContents(ctx context.Context, codespace *api.Codespace, path string) ([]byte, error)
83 ListDevContainers(ctx context.Context, repoID int64, branch string, limit int) (devcontainers []api.DevContainerEntry, err error)
84 GetCodespaceRepoSuggestions(ctx context.Context, partialSearch string, params api.RepoSearchParameters) ([]string, error)
85 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