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

Function Open

repository/repository.go:72–74  ·  view source on GitHub ↗
(ctx context.Context, repo string)

Source from the content-addressed store, hash-verified

70}
71
72func Open(ctx context.Context, repo string) (*Repository, error) {
73 return OpenWithBasePath(ctx, repo, cuGlobalConfigPath)
74}
75
76// OpenWithBasePath opens a repository with a custom base path for container-use data.
77// This is useful for tests that need isolated environments.

Callers 15

openRepositoryFunction · 0.92
inspect.goFile · 0.92
apply.goFile · 0.92
diff.goFile · 0.92
delete.goFile · 0.92
watch_windows.goFile · 0.92
merge.goFile · 0.92
checkout.goFile · 0.92
watch_unix.goFile · 0.92
log.goFile · 0.92
withConfigFunction · 0.92
updateConfigFunction · 0.92

Calls 1

OpenWithBasePathFunction · 0.85

Tested by 1

TestRepositoryOpenFunction · 0.68