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

Method as_git

sdk/python/src/dagger/client/gen.py:4311–4315  ·  view source on GitHub ↗

Converts this directory to a local git repository

(self)

Source from the content-addressed store, hash-verified

4309 """A directory."""
4310
4311 def as_git(self) -> "GitRepository":
4312 """Converts this directory to a local git repository"""
4313 _args: list[Arg] = []
4314 _ctx = self._select("asGit", _args)
4315 return GitRepository(_ctx)
4316
4317 def as_module(
4318 self,

Callers

nothing calls this directly

Calls 2

_selectMethod · 0.80
GitRepositoryClass · 0.70

Tested by

no test coverage detected