We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14a7e39 commit ea5f778Copy full SHA for ea5f778
deltachat-jsonrpc/src/api.rs
@@ -349,8 +349,8 @@ impl CommandApi {
349
Ok(ctx.get_blobdir().to_str().map(|s| s.to_owned()))
350
}
351
352
- /// Copy file to blobdir.
353
- async fn copy_to_blobdir(&self, account_id: u32, path: String) -> Result<PathBuf> {
+ /// Copy file to blob dir.
+ async fn copy_to_blob_dir(&self, account_id: u32, path: String) -> Result<PathBuf> {
354
let ctx = self.get_context(account_id).await?;
355
let file = Path::new(&path);
356
Ok(BlobObject::create_and_deduplicate(&ctx, file, file)?.to_abs_path())
0 commit comments