Skip to content

Commit ea5f778

Browse files
committed
refactor(jsonrpc): Rename copy_to_blobdir() to copy_to_blob_dir()
1 parent 14a7e39 commit ea5f778

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deltachat-jsonrpc/src/api.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@ impl CommandApi {
349349
Ok(ctx.get_blobdir().to_str().map(|s| s.to_owned()))
350350
}
351351

352-
/// Copy file to blobdir.
353-
async fn copy_to_blobdir(&self, account_id: u32, path: String) -> Result<PathBuf> {
352+
/// Copy file to blob dir.
353+
async fn copy_to_blob_dir(&self, account_id: u32, path: String) -> Result<PathBuf> {
354354
let ctx = self.get_context(account_id).await?;
355355
let file = Path::new(&path);
356356
Ok(BlobObject::create_and_deduplicate(&ctx, file, file)?.to_abs_path())

0 commit comments

Comments
 (0)