Expand description
The collaboration API is unstable and as such will undergo breaking changes in the near future!
Structs§
- Changeset
- A collection of snapshots in a local database
- Connection
Options - Database
Conflict Handler Fail - GroupId
- Merge
Conflict - Structure representing an individual merge conflict
- NoName
Changeset - Permission
- Struct representing a permission grant for a user or group on a project.
- Remote
- Remote
File - A remote project file. It controls the various snapshots and raw file contents associated with the analysis.
- Remote
Folder - Remote
Group - Remote
Project - Remote
Snapshot - Remote
User - Type
Archive Conflict Handler Fail
Traits§
- Database
Conflict Handler - Helper trait that resolves conflicts
- Name
Changeset - Type
Archive Conflict Handler
Functions§
- active_
remote - Get the single actively connected Remote (for ux simplification), if any
- assign_
snapshot_ map - Add a snapshot to the id map in a database
- default_
file_ path - default_
project_ path - Get the default directory path for a remote Project. This is based off the Setting for collaboration.directory, the project’s id, and the project’s remote’s id.
- delete_
data_ from_ keychain - download_
database - download_
database_ with_ progress - download_
file - Download a file from its remote, saving all snapshots to a database in the specified location. Returns a FileContext for opening the file later.
- download_
file_ with_ progress - Download a file from its remote, saving all snapshots to a database in the specified location. Returns a FileContext for opening the file later.
- download_
type_ archive - Download a type archive from its remote, saving all snapshots to an archive in the
specified
location. Returns aTypeArchivefor using later. - download_
type_ archive_ with_ progress - Download a type archive from its remote, saving all snapshots to an archive in the
specified
location. Returns aTypeArchivefor using later. - dump_
database - Print debug information about a database to stdout
- enterprise_
remote - Get the enterprise remote.
- get_
data_ from_ keychain - get_
local_ snapshot_ for_ remote - Get the local snapshot associated with a remote snapshot (if it exists)
- get_
local_ snapshot_ from_ remote_ type_ archive - Get the local snapshot associated with a remote snapshot (if it exists) in a Type Archive
- get_
remote_ by_ address - Get Remote by
address - get_
remote_ by_ id - Get Remote by unique
id - get_
remote_ by_ name - Get Remote by
name - get_
remote_ file_ for_ local_ database - Get the Remote File for a Database
- get_
remote_ file_ for_ local_ type_ archive - Get the Remote File for a Type Archive
- get_
remote_ for_ binary_ view - Get the Remote for a BinaryView
- get_
remote_ for_ local_ database - Get the Remote for a Database
- get_
remote_ for_ local_ type_ archive - Get the Remote for a Type Archive
- get_
remote_ project_ for_ local_ database - Get the Remote Project for a Database, returning the Remote project from one of the connected remotes, or None if not found or if projects are not pulled
- get_
remote_ project_ for_ local_ type_ archive - Get the Remote Project for a Type Archive
- get_
remote_ snapshot_ from_ local - Get the remote snapshot associated with a local snapshot (if it exists)
- get_
remote_ snapshot_ from_ local_ type_ archive - Get the remote snapshot associated with a local snapshot (if it exists) in a Type Archive
- get_
snapshot_ author - Get the remote author of a local snapshot
- has_
collaboration_ support - Check whether the client has collaboration support.
- has_
data_ in_ keychain - ignore_
snapshot - Ignore a snapshot from database syncing operations
- is_
collaboration_ database - Test if a database is valid for use in collaboration
- is_
collaboration_ type_ archive - Test if a type archive is valid for use in collaboration
- is_
snapshot_ ignored - Test if a snapshot is ignored from the database
- is_
type_ archive_ snapshot_ ignored - Test if a snapshot is ignored from the archive
- known_
remotes - List of known/connected Remotes
- load_
remotes - Load the list of known Remotes from local Settings
- merge_
database - Merge all leaf snapshots in a database down to a single leaf snapshot.
- merge_
database_ with_ progress - Merge all leaf snapshots in a database down to a single leaf snapshot.
- merge_
snapshots - Merge a pair of snapshots and create a new snapshot with the result.
- merge_
snapshots_ with_ progress - Merge a pair of snapshots and create a new snapshot with the result.
- pull_
database - Pull updated snapshots from the remote. Merge local changes with remote changes and potentially create a new snapshot for unsaved changes, named via name_changeset.
- pull_
database_ with_ progress - Pull updated snapshots from the remote. Merge local changes with remote changes and potentially create a new snapshot for unsaved changes, named via name_changeset.
- pull_
type_ archive - Pull updated type archives from the remote.
- pull_
type_ archive_ with_ progress - Pull updated type archives from the remote.
- push_
database - Push locally added snapshots to the remote
- push_
database_ with_ progress - Push locally added snapshots to the remote
- push_
type_ archive - Push locally added snapshots to the remote
- push_
type_ archive_ with_ progress - Push locally added snapshots to the remote
- remove_
known_ remote - Remove a Remote from the list of known remotes (saved to Settings)
- save_
remotes - Save the list of known Remotes to local Settings
- set_
active_ remote - Set the single actively connected Remote
- set_
snapshot_ author - Set the remote author of a local snapshot (does not upload)
- store_
data_ in_ keychain - sync_
database - Completely sync a database, pushing/pulling/merging/applying changes
- sync_
database_ with_ progress - Completely sync a database, pushing/pulling/merging/applying changes
- sync_
type_ archive - Completely sync a type archive, pushing/pulling/merging/applying changes
- sync_
type_ archive_ with_ progress - Completely sync a type archive, pushing/pulling/merging/applying changes
- upload_
database - Upload a file, with database, to the remote under the given project
- upload_
database_ with_ progress - Upload a file, with database, to the remote under the given project
- upload_
type_ archive - Upload a type archive
- upload_
type_ archive_ with_ progress - Upload a type archive