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

Method commit

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

Returns details of a commit. Parameters ---------- id: Identifier of the commit (e.g., "b6315d8f2810962c601af73f86831f6866ea798b").

(self, id: str)

Source from the content-addressed store, hash-verified

9644 return await _ctx.execute(list[str])
9645
9646 def commit(self, id: str) -> GitRef:
9647 """Returns details of a commit.
9648
9649 Parameters
9650 ----------
9651 id:
9652 Identifier of the commit (e.g.,
9653 "b6315d8f2810962c601af73f86831f6866ea798b").
9654 """
9655 _args = [
9656 Arg("id", id),
9657 ]
9658 _ctx = self._select("commit", _args)
9659 return GitRef(_ctx)
9660
9661 def head(self) -> GitRef:
9662 """Returns details for HEAD."""

Callers

nothing calls this directly

Calls 3

ArgClass · 0.90
_selectMethod · 0.80
GitRefClass · 0.70

Tested by

no test coverage detected