MCPcopy
hub / github.com/dagger/container-use / SourcePath

Method SourcePath

repository/repository.go:168–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166}
167
168func (r *Repository) SourcePath() string {
169 return r.userRepoPath
170}
171
172func (r *Repository) exists(ctx context.Context, id string) error {
173 if _, err := RunGitCommand(ctx, r.forkRepoPath, "rev-parse", "--verify", id); err != nil {

Callers 12

TestRepositoryCheckoutFunction · 0.80
TestRepositoryMergeFunction · 0.80
TestRepositoryApplyFunction · 0.80
TestEnvironmentSelectionFunction · 0.80
resolveEnvironmentIDFunction · 0.80
withConfigFunction · 0.80
updateConfigFunction · 0.80
config.goFile · 0.80

Calls

no outgoing calls

Tested by 8

TestRepositoryCheckoutFunction · 0.64
TestRepositoryMergeFunction · 0.64
TestRepositoryApplyFunction · 0.64
TestEnvironmentSelectionFunction · 0.64