mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-03 05:02:54 +00:00
feature(cloudcmd) add ability to show progress on move (#157)
This commit is contained in:
parent
c793082ec8
commit
697df5846f
4 changed files with 20 additions and 46 deletions
|
|
@ -118,6 +118,11 @@ function OperationProto(operation, data) {
|
|||
.then(setListeners(callback));
|
||||
};
|
||||
|
||||
moveFn = (data, callback) => {
|
||||
operator.move(data.from, data.to, data.names)
|
||||
.then(setListeners(callback));
|
||||
};
|
||||
|
||||
extractFn = (data, callback) => {
|
||||
operator.extract(data.from, data.to)
|
||||
.then(setListeners({noContinue: true}, callback));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue