Updated README file
authorFuad Muhic <fmuhic@capeannenterprises.com>
Tue, 19 Dec 2017 17:17:42 +0000 (18:17 +0100)
committerFuad Muhic <fmuhic@capeannenterprises.com>
Tue, 19 Dec 2017 17:17:42 +0000 (18:17 +0100)
Arvados-DCO-1.1-Signed-off-by: Fuad Muhic <fmuhic@capeannenterprises.com>

sdk/R/R/HttpParser.R
sdk/R/README

index dda3db90b07d9ba45f318b3bf25f28966b93e7b2..e7407b1a0df0b915b20602dd58cdb66ae97e52ee 100644 (file)
@@ -14,7 +14,6 @@ HttpParser <- R6::R6Class(
             parsed_response <- httr::content(serverResponse, as = "parsed", type = "application/json")
         },
 
-        #TODO rename this
         parseWebDAVResponse = function(response, uri)
         {
             text <- rawToChar(response$content)
index 2e2298e1876ddd4dca8bb5d07d38520aadb07b9d..560be87d8a4ea5a961b9e9d686c60389d7a1e8dd 100644 (file)
@@ -138,8 +138,28 @@ collection$remove(c("path/to/my/file.cpp", "path/to/other/file.cpp"))
 
 --------------------------------------------------------------------------------------------------------------------------------
 
+#Move file or folder inside collection
+
+file <- collection$get("location/to/my/file.cpp")
+
+file$move("destination/file.cpp")
+
+#Or subcollections
+
+subcollection <- collection$get("location/to/folder")
+
+file$move("destination/folder")
+
+#Make sure to include folder name in destination
+#For example
+#file$move("destination/") will not work
+
 --------------------------------------------------------------------------------------------------------------------------------
 
+--------------------------------------------------------------------------------------------------------------------------------
+
+# Working with projects:
+
 #Get project:
 
 arv$getProject("uuid")