diff options
Diffstat (limited to 'dbus/smbprovider')
-rw-r--r-- | dbus/smbprovider/dbus-constants.h | 1 | ||||
-rw-r--r-- | dbus/smbprovider/directory_entry.proto | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dbus/smbprovider/dbus-constants.h b/dbus/smbprovider/dbus-constants.h index 3e41e16..49c8cbf 100644 --- a/dbus/smbprovider/dbus-constants.h +++ b/dbus/smbprovider/dbus-constants.h @@ -25,6 +25,7 @@ const char kCreateFileMethod[] = "CreateFile"; const char kTruncateMethod[] = "Truncate"; const char kWriteFileMethod[] = "WriteFile"; const char kCreateDirectoryMethod[] = "CreateDirectory"; +const char kMoveEntryMethod[] = "MoveEntry"; } // namespace smbprovider diff --git a/dbus/smbprovider/directory_entry.proto b/dbus/smbprovider/directory_entry.proto index 168390f..0403139 100644 --- a/dbus/smbprovider/directory_entry.proto +++ b/dbus/smbprovider/directory_entry.proto @@ -165,4 +165,17 @@ message CreateDirectoryOptionsProto { // Boolean indicating whether the create should be recursive, meaning the // parent directories will also be created if they currently don't exist. optional bool recursive = 3; +} + +// Used for passing inputs into SmbProvider.MoveEntry(). +message MoveEntryOptionsProto { + // ID of the mount returned from Mount(). + optional int32 mount_id = 1; + // Source path of the entry to be moved. This can be a file or directory path. + // Paths are relative to the mount root. (e.g. "/testfolder/dog.jpg") + optional string source_path = 2; + // Destination path for the entry to be moved to. This must be a non-existant + // file or directory path. Paths are relative to the mount + // root. (e.g. "/testfolder/dog.jpg") + optional string target_path = 3; }
\ No newline at end of file |