You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/05/08 20:46:54 UTC

[2/3] js commit: missing file apis, moveTo, copyTo CB-665

missing file apis, moveTo, copyTo CB-665


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/eab6fabb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/eab6fabb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/eab6fabb

Branch: refs/heads/master
Commit: eab6fabb0ea5b949f67ce8a501dce6aa4812e867
Parents: 4141d79
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue May 8 11:44:25 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue May 8 11:44:25 2012 -0700

----------------------------------------------------------------------
 lib/wp7/exec.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/eab6fabb/lib/wp7/exec.js
----------------------------------------------------------------------
diff --git a/lib/wp7/exec.js b/lib/wp7/exec.js
index ad5afd9..092543d 100644
--- a/lib/wp7/exec.js
+++ b/lib/wp7/exec.js
@@ -19,7 +19,9 @@ var NamedArgs =  {
         getFile:["fullPath","path","options"],
         readEntries:["fullPath"],
         write:["fileName","data","position"],
-        truncate:["fileName","size"]
+        truncate:["fileName","size"],
+        copyTo:["fullPath","parent", "newName"],
+        moveTo:["fullPath","parent", "newName"]
     },
     FileTransfer:{
         upload:["filePath", "server", "fileKey", "fileName", "mimeType", "params", "debug", "chunkedMode"],