Get the metadata of a directory. The response HTTP headers contain the
metadata. There is no response body.
Usage
get_file_directory_metadata(client, directory_path)
filesGetDirectoryMetadata(client, directory_path)
Arguments
- client
Required. Instance of DatabricksClient()
- directory_path
Required. The absolute path of a directory.
Details
This method is useful to check if a directory exists and the caller has
access to it.
If you wish to ensure the directory exists, you can instead use PUT, which
will create the directory if it does not exist, and is idempotent (it will
succeed if the directory already exists).