pub async fn delete_files( &self, file_names: Vec<String>, ) -> Result<DeleteFilesResponse, KineticaError>
Delete one or more files from KiFS
Deletes one or more files from KiFS.
file_names- An array of names of files to be deleted. File paths may contain wildcard characters after the KiFS directory delimiter.Accepted wildcard characters are asterisk (*) to represent any string of zero or more characters, and question mark (?) to indicate a single character.
pub async fn delete_files_with_opts( &self, file_names: Vec<String>, options: DeleteFilesRequestOptions, ) -> Result<DeleteFilesResponse, KineticaError>
Delete one or more files from KiFS
Deletes one or more files from KiFS.
file_names- An array of names of files to be deleted. File paths may contain wildcard characters after the KiFS directory delimiter.Accepted wildcard characters are asterisk (*) to represent any string of zero or more characters, and question mark (?) to indicate a single character.
options- The optional parameters; any left unset take the server’s defaults.
pub async fn delete_files_raw( &self, request: &DeleteFilesRequest, ) -> Result<DeleteFilesResponse, KineticaError>
Sends a pre-built DeleteFilesRequest to the /delete/files endpoint.
pub async fn delete_files_from_url( &self, url: &str, request: &DeleteFilesRequest, ) -> Result<DeleteFilesResponse, KineticaError>
Sends a pre-built DeleteFilesRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.