renamed 'delete' to 'remove'
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user