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.
Source
pub async fn delete_directory_with_opts( &self, directory_name: String, options: DeleteDirectoryRequestOptions, ) -> 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.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn delete_directory_raw( &self, request: &DeleteDirectoryRequest, ) -> Result<DeleteDirectoryResponse, KineticaError>
Sends a pre-built DeleteDirectoryRequest to the /delete/directory endpoint.
Source
pub async fn delete_directory_from_url( &self, url: &str, request: &DeleteDirectoryRequest, ) -> Result<DeleteDirectoryResponse, KineticaError>
Sends a pre-built DeleteDirectoryRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.