Volume FileSystem List Directory Contents
Arguments
- path
Absolute path of the file in the Files API, omitting the initial slash.
- host
Databricks workspace URL, defaults to calling
db_host().- token
Databricks workspace token, defaults to calling
db_token().- perform_request
If
TRUE(default) the request is performed, ifFALSEthe httr2 request is returned without being performed.- page_size
Maximum number of directory entries per page, from 0 to 1000.
NULLuses the API default; 0 requests the maximum page size.- page_token
Continuation token from a previous response, or
NULLfor the first page.
Value
If perform_request = TRUE, returns one API response page, including
contents and next_page_token when present. If FALSE, returns an
httr2_request. Directory download and recursive-delete helpers fetch all pages.
