citadel_sdk::fs

Function write

Source
pub async fn write<T: ObjectSource, P: Into<PathBuf> + Send, R: Ratchet>(
    remote: &impl TargetLockedRemote<R>,
    source: T,
    virtual_path: P,
) -> Result<(), NetworkError>
Expand description

Writes a file or BytesSource to the Remote Encrypted Virtual Filesystem