MCPcopy Create free account
hub / github.com/dagger/dagger / Remote

Method Remote

core/git.go:33–33  ·  view source on GitHub ↗

Remote returns information about the git remote.

(ctx context.Context)

Source from the content-addressed store, hash-verified

31type GitRepositoryBackend interface {
32 // Remote returns information about the git remote.
33 Remote(ctx context.Context) (*gitutil.Remote, error)
34 // Get returns a reference to a specific git ref (branch, tag, or commit).
35 Get(ctx context.Context, ref *gitutil.Ref) (GitRefBackend, error)
36

Callers 15

NewGitRepositoryFunction · 0.65
DecodePersistedObjectMethod · 0.65
RemoteMethod · 0.65
remoteCacheKeyMethod · 0.65
runLsRemoteMethod · 0.65
mountMethod · 0.65
fetchMethod · 0.65
initRemoteMethod · 0.65
TreeMethod · 0.65
gitMethod · 0.65
calcGitContentDigestFunction · 0.65
IsRemotePublicFunction · 0.65

Implementers 2

LocalGitRepositorycore/git_local.go
RemoteGitRepositorycore/git_remote.go

Calls

no outgoing calls

Tested by 1

TestParseGitFunction · 0.52