pub fn upload_database_with_progress<P: ProgressCallback, N: NameChangeset>(
project: &RemoteProject,
parent_folder: Option<&RemoteFolder>,
metadata: &FileMetadata,
name_changeset: N,
progress: P,
) -> Result<Ref<RemoteFile>, ()>
Expand description
Upload a file, with database, to the remote under the given project
metadata
- Local file with databaseproject
- Remote project under which to place the new fileparent_folder
- Optional parent folder in which to place this filename_changeset
- Function to call for naming a pushed changeset, if necessaryprogress
- Function to call for progress updates