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

Method rootfs

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

Return a snapshot of the container's root filesystem. The snapshot can be modified then written back using withRootfs. Use that method for filesystem modifications.

(self)

Source from the content-addressed store, hash-verified

2572 return await _ctx.execute(str)
2573
2574 def rootfs(self) -> "Directory":
2575 """Return a snapshot of the container's root filesystem. The snapshot can
2576 be modified then written back using withRootfs. Use that method for
2577 filesystem modifications.
2578 """
2579 _args: list[Arg] = []
2580 _ctx = self._select("rootfs", _args)
2581 return Directory(_ctx)
2582
2583 def stat(
2584 self,

Callers 1

testContainerMethod · 0.95

Calls 2

_selectMethod · 0.80
DirectoryClass · 0.70

Tested by 1

testContainerMethod · 0.76