Skip to main content
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.

Sends a pre-built AlterDirectoryRequest to the /alter/directory endpoint.

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