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

Method diff

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

Return the difference between this directory and an another directory. The difference is encoded as a directory. Parameters ---------- other: The directory to compare against

(self, other: Self)

Source from the content-addressed store, hash-verified

4395 return Directory(_ctx)
4396
4397 def diff(self, other: Self) -> Self:
4398 """Return the difference between this directory and an another directory.
4399 The difference is encoded as a directory.
4400
4401 Parameters
4402 ----------
4403 other:
4404 The directory to compare against
4405 """
4406 _args = [
4407 Arg("other", other),
4408 ]
4409 _ctx = self._select("diff", _args)
4410 return Directory(_ctx)
4411
4412 async def digest(self) -> str:
4413 """Return the directory's digest. The format of the digest is not

Callers

nothing calls this directly

Calls 3

ArgClass · 0.90
_selectMethod · 0.80
DirectoryClass · 0.70

Tested by

no test coverage detected