Skip to main content
Source

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.

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.

Sends a pre-built DeleteFilesRequest to the /delete/files endpoint.

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