Source
pub async fn alter_directory( &self, directory_name: String, directory_updates_map: HashMap<String, String>, ) -> Result<AlterDirectoryResponse, KineticaError>
Alter an existing directory in KiFS
Alters an existing directory in KiFS.
directory_name- Name of the directory in KiFS to be altered.directory_updates_map- Map containing the properties of the directory to be altered. Error if empty.
Source
pub async fn alter_directory_with_opts( &self, directory_name: String, directory_updates_map: HashMap<String, String>, options: AlterDirectoryRequestOptions, ) -> Result<AlterDirectoryResponse, KineticaError>
Alter an existing directory in KiFS
Alters an existing directory in KiFS.
directory_name- Name of the directory in KiFS to be altered.directory_updates_map- Map containing the properties of the directory to be altered. Error if empty.options- The optional parameters; any left unset take the server’s defaults.
Source
pub async fn alter_directory_raw( &self, request: &AlterDirectoryRequest, ) -> Result<AlterDirectoryResponse, KineticaError>
Sends a pre-built AlterDirectoryRequest to the /alter/directory endpoint.
Source
pub async fn alter_directory_from_url( &self, url: &str, request: &AlterDirectoryRequest, ) -> Result<AlterDirectoryResponse, KineticaError>
Sends a pre-built AlterDirectoryRequest to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.