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

Method entries

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

Returns a list of files and directories at the given path. Parameters ---------- path: Location of the directory to look at (e.g., "/src"). Returns ------- list[str] The `String` scalar type represents textual data, represente

(self, *, path: str | None = None)

Source from the content-addressed store, hash-verified

4500 return Container(_ctx)
4501
4502 async def entries(self, *, path: str | None = None) -> list[str]:
4503 """Returns a list of files and directories at the given path.
4504
4505 Parameters
4506 ----------
4507 path:
4508 Location of the directory to look at (e.g., "/src").
4509
4510 Returns
4511 -------
4512 list[str]
4513 The `String` scalar type represents textual data, represented as
4514 UTF-8 character sequences. The String type is most often used by
4515 GraphQL to represent free-form human-readable text.
4516
4517 Raises
4518 ------
4519 ExecuteTimeoutError
4520 If the time to execute the query exceeds the configured timeout.
4521 QueryError
4522 If the API returns an error.
4523 """
4524 _args = [
4525 Arg("path", path, None),
4526 ]
4527 _ctx = self._select("entries", _args)
4528 return await _ctx.execute(list[str])
4529
4530 async def exists(
4531 self,

Callers 15

testGitMethod · 0.95
test_directoryFunction · 0.45
test_directory_syncFunction · 0.45
setupEnvMethod · 0.45
constructorMethod · 0.45
invoke.spec.tsFile · 0.45
loadArgsFunction · 0.45
loadParentStateFunction · 0.45
loadResultFunction · 0.45
formatErrorFunction · 0.45
buildArgsFunction · 0.45

Calls 3

ArgClass · 0.90
_selectMethod · 0.80
executeMethod · 0.45

Tested by 3

testGitMethod · 0.76
test_directoryFunction · 0.36
test_directory_syncFunction · 0.36