Skip to main content

retrieve

Function retrieve 

Source
pub async fn retrieve(
    owner: String,
    name: String,
    uid: u32,
) -> UnifiedResult<OkWarning<(PathType, PathType)>>
Expand description

Retrieves a file by decrypting it.

§Arguments

  • owner - The owner of the file.
  • name - The name of the file.
  • uid - The unique identifier for the file.
  • errors - An ErrorArray to capture errors.
  • warnings - A WarningArray to capture warnings.

§Returns

  • uf<OkWarning<(PathType, PathType)>> - A unified result containing the decrypted file paths or an error.