Upload a file, with database, to the remote under the given project `metadata` - Local file with database `parent_folder` - Optional parent folder in which to place this file `progress` -: Function to call for progress updates `name_changeset` - Function to call for naming a pushed changeset, if necessary
(
&self,
metadata: &FileMetadata,
parent_folder: Option<&RemoteFolder>,
name_changeset: C,
progress_function: impl ProgressCallback,
)
| 914 | /// * `progress` -: Function to call for progress updates |
| 915 | /// * `name_changeset` - Function to call for naming a pushed changeset, if necessary |
| 916 | pub fn upload_database_with_progress<C>( |
| 917 | &self, |
| 918 | metadata: &FileMetadata, |
| 919 | parent_folder: Option<&RemoteFolder>, |
| 920 | name_changeset: C, |
| 921 | progress_function: impl ProgressCallback, |
| 922 | ) -> Result<Ref<RemoteFile>, ()> |
| 923 | where |
| 924 | C: NameChangeset, |
| 925 | { |
| 926 | sync::upload_database_with_progress( |
| 927 | self, |
| 928 | parent_folder, |
| 929 | metadata, |
| 930 | name_changeset, |
| 931 | progress_function, |
| 932 | ) |
| 933 | } |
| 934 | |
| 935 | // TODO: check remotebrowser.cpp for implementation |
| 936 | ///// Upload a file to the project, creating a new File and pulling it |
nothing calls this directly
no test coverage detected