Skip to contents

Returns the contents of a directory. If there is no directory at the specified path, the API returns a HTTP 404 error.

Usage

list_file_directory_contents(
  client,
  directory_path,
  page_size = NULL,
  page_token = NULL
)

filesListDirectoryContents(
  client,
  directory_path,
  page_size = NULL,
  page_token = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

directory_path

Required. The absolute path of a directory.

page_size

The maximum number of directory entries to return.

page_token

An opaque page token which was the next_page_token in the response of the previous request to list the contents of this directory.

Value

data.frame with all of the response pages.