ElixirDropbox v0.0.6 ElixirDropbox.Files
Link to this section Summary
Functions
Copy a file or folder to a different location in the user’s Dropbox. If the source path is a folder all its contents will be copied
Create folder returns map
Create folder returns Folder struct
Delete folder returns map
Delete folder returns Folder struct
Move a file or folder to a different location in the user’s Dropbox. If the source path is a folder all its contents will be moved
Link to this section Functions
Copy a file or folder to a different location in the user’s Dropbox. If the source path is a folder all its contents will be copied.
Example
ElixirDropbox.Files.copy(client, “/Temp/first”, “/Tmp/second”)
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-copy_v2
Create folder returns map
Example
ElixirDropbox.Files.create_folder client, “/Path”
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder
create_folder_to_struct(Client, binary) :: Map
Create folder returns Folder struct
Example
ElixirDropbox.Files.create_folder_to_struct client, “/Path”
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-create_folder
Delete folder returns map
## Example
ElixirDropbox.Files.delete_folder client, “/Path”
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-delete
Delete folder returns Folder struct
Example
ElixirDropbox.Files.delete_folder_to_struct client, “/Path”
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-delete
Move a file or folder to a different location in the user’s Dropbox. If the source path is a folder all its contents will be moved.
Example
ElixirDropbox.Files.move(client, “/Homework/math”, “/Homework/algebra”)
More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-move