store

Function store 

Source
pub async fn store(
    filename: PathType,
    owner: String,
    name: String,
) -> UnifiedResult<()>
Expand description

Inserts a file by encrypting and storing it.

§Arguments

  • filename - The relative path of the file to be stored.
  • owner - The owner of the file.
  • name - The name of the file.
  • errors - An ErrorArray to capture errors.
  • warnings - A WarningArray to capture warnings.

§Returns

  • uf<()> - A unified result indicating success or failure.