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

Method before

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

The older/lower snapshot to compare against.

(self)

Source from the content-addressed store, hash-verified

1268 return File(_ctx)
1269
1270 def before(self) -> "Directory":
1271 """The older/lower snapshot to compare against."""
1272 _args: list[Arg] = []
1273 _ctx = self._select("before", _args)
1274 return Directory(_ctx)
1275
1276 async def diff_stats(self) -> list["DiffStat"]:
1277 """Structured per-path diff statistics (kind and line counts) for this

Callers

nothing calls this directly

Calls 2

_selectMethod · 0.80
DirectoryClass · 0.70

Tested by

no test coverage detected