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