renamed 'delete' to 'remove'

This commit is contained in:
2021-06-07 12:06:35 -05:00
parent 98cb50533d
commit 0330f8a2b5
4 changed files with 17 additions and 16 deletions

View File

@@ -42,7 +42,6 @@ export const create_api = (conn) => {
await ops.create_or_open_file(conn, remote_path),
remote_path
),
delete: async (remote_path) => ops.delete_file(conn, remote_path),
download: async (
remote_path,
local_path,
@@ -71,6 +70,7 @@ export const create_api = (conn) => {
},
open: async (remote_path) =>
new file(conn, await ops.open_file(conn, remote_path), remote_path),
remove: async (remote_path) => ops.remove_file(conn, remote_path),
upload: async (local_path, remote_path, progress_cb, overwrite, resume) =>
ops.upload_file(
conn,