Skip to main content
Source

pub async fn create_directory( &self, directory_name: String, ) -> Result<CreateDirectoryResponse, KineticaError>

Create a directory in KiFS

Creates a new directory in KiFS. The new directory serves as a location in which the user can upload files using /upload/files.

  • directory_name - Name of the directory in KiFS to be created.

Create a directory in KiFS

Creates a new directory in KiFS. The new directory serves as a location in which the user can upload files using /upload/files.

  • directory_name - Name of the directory in KiFS to be created.
  • options - The optional parameters; any left unset take the server’s defaults.

Sends a pre-built CreateDirectoryRequest to the /create/directory endpoint.

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