MCPcopy
hub / github.com/cli/cli / Interface

Interface Interface

internal/ghrepo/repo.go:14–18  ·  view source on GitHub ↗

Interface describes an object that represents a GitHub repository

Source from the content-addressed store, hash-verified

12
13// Interface describes an object that represents a GitHub repository
14type Interface interface {
15 RepoName() string
16 RepoOwner() string
17 RepoHost() string
18}
19
20// New instantiates a GitHub repository from owner and name arguments
21func New(owner, repo string) Interface {

Callers 24

cloneRunFunction · 0.95
creditsRunFunction · 0.95
forkRunFunction · 0.95
createFromScratchFunction · 0.95
createFromLocalFunction · 0.95
syncLocalRepoFunction · 0.95
Test_translateRemotesFunction · 0.65
FindByRepoMethod · 0.65
cloneRunFunction · 0.95
creditsRunFunction · 0.95
forkRunFunction · 0.95
createFromScratchFunction · 0.95

Implementers 3

Remotecontext/remote.go
ghRepointernal/ghrepo/repo.go
Repositoryapi/queries_repo.go

Calls

no outgoing calls

Tested by

no test coverage detected