HomePhabricator
Diffusion Comm d661efaaf64f

Introduce function to get path to a file to temporarily save backup message

Description

Introduce function to get path to a file to temporarily save backup message

Summary:
The backup message content will be temporarily persisted in a file after backup creation. Then the thread responsible for backup upload will read this file and attach
its content to upload request. Finally the file will be deleted.
This diff introduces utility functions to get teh path to save this file.

Test Plan: Call this function from any native/rust code.

Reviewers: kamil, bartek

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D11714

Details

Provenance
marcinAuthored on Apr 22 2024, 4:44 AM
Reviewer
kamil
Differential Revision
D11714: Introduce function to get path to a file to temporarily save backup message
Parents
rCOMM70288a9803d4: Introduce msg_backup field to BackupItem
Branches
Unknown
Tags
Unknown