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

Method layer

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

Return a snapshot containing only the created and modified files

(self)

Source from the content-addressed store, hash-verified

1357 return await _ctx.execute(bool)
1358
1359 def layer(self) -> "Directory":
1360 """Return a snapshot containing only the created and modified files"""
1361 _args: list[Arg] = []
1362 _ctx = self._select("layer", _args)
1363 return Directory(_ctx)
1364
1365 async def modified_paths(self) -> list[str]:
1366 """Files and directories that existed before and were updated in the

Callers

nothing calls this directly

Calls 2

_selectMethod · 0.80
DirectoryClass · 0.70

Tested by

no test coverage detected