Skip to main content
Source

pub async fn delete_directory( &self, directory_name: String, ) -> Result<DeleteDirectoryResponse, KineticaError>

Delete a directory from KiFS

Deletes a directory from KiFS.

  • directory_name - Name of the directory in KiFS to be deleted. The directory must contain no files, unless recursive is true.

Delete a directory from KiFS

Deletes a directory from KiFS.

  • directory_name - Name of the directory in KiFS to be deleted. The directory must contain no files, unless recursive is true.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built DeleteDirectoryRequest to the /delete/directory endpoint.

Sends a pre-built DeleteDirectoryRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.