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

Method Get

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

Get returns a reference to a specific git ref (branch, tag, or commit).

(ctx context.Context, ref *gitutil.Ref)

Source from the content-addressed store, hash-verified

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
37 // Dirty returns a Directory representing the repository in it's current state.
38 Dirty(ctx context.Context) (dagql.ObjectResult[*Directory], error)

Callers 15

ResolveMethod · 0.65
writeHTTPStateSnapshotFunction · 0.65
FetchHTTPFileFunction · 0.65
DecodePersistedObjectMethod · 0.65
MergeBaseFunction · 0.65
HostnameMethod · 0.65
PortsMethod · 0.65
EndpointMethod · 0.65
callBatchMCPServerMethod · 0.65

Implementers 2

LocalGitRepositorycore/git_local.go
RemoteGitRepositorycore/git_remote.go

Calls

no outgoing calls