Expand description
The collaboration API is unstable and as such will undergo breaking changes in the near future!
Structs§
- A collection of snapshots in a local database
- Structure representing an individual merge conflict
- Struct representing a permission grant for a user or group on a project.
- A remote project file. It controls the various snapshots and raw file contents associated with the analysis.
Traits§
- Helper trait that resolves conflicts
Functions§
- Get the single actively connected Remote (for ux simplification), if any
- Add a snapshot to the id map in a database
- 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.
- 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 a file from its remote, saving all snapshots to a database in the specified location. Returns a FileContext for opening the file later.
- Download a type archive from its remote, saving all snapshots to an archive in the specified
location
. Returns aTypeArchive
for using later. - Download a type archive from its remote, saving all snapshots to an archive in the specified
location
. Returns aTypeArchive
for using later. - Print debug information about a database to stdout
- Get the local snapshot associated with a remote snapshot (if it exists)
- Get the local snapshot associated with a remote snapshot (if it exists) in a Type Archive
- Get Remote by
address
- Get Remote by unique
id
- Get Remote by
name
- Get the Remote File for a Database
- Get the Remote File for a Type Archive
- Get the Remote for a BinaryView
- Get the Remote for a Database
- Get the Remote for a Type Archive
- 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 the Remote Project for a Type Archive
- Get the remote snapshot associated with a local snapshot (if it exists)
- Get the remote snapshot associated with a local snapshot (if it exists) in a Type Archive
- Get the remote author of a local snapshot
- Check whether the client has collaboration support.
- Ignore a snapshot from database syncing operations
- Test if a database is valid for use in collaboration
- Test if a type archive is valid for use in collaboration
- Test if a snapshot is ignored from the database
- Test if a snapshot is ignored from the archive
- List of known/connected Remotes
- Load the list of known Remotes from local Settings
- Merge all leaf snapshots in a database down to a single leaf snapshot.
- Merge all leaf snapshots in a database down to a single leaf snapshot.
- Merge a pair of snapshots and create a new snapshot with the result.
- Merge a pair of snapshots and create a new snapshot with the result.
- 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 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 updated type archives from the remote.
- Pull updated type archives from the remote.
- Push locally added snapshots to the remote
- Push locally added snapshots to the remote
- Push locally added snapshots to the remote
- Push locally added snapshots to the remote
- Remove a Remote from the list of known remotes (saved to Settings)
- Save the list of known Remotes to local Settings
- Set the single actively connected Remote
- Set the remote author of a local snapshot (does not upload)
- Completely sync a database, pushing/pulling/merging/applying changes
- Completely sync a database, pushing/pulling/merging/applying changes
- Completely sync a type archive, pushing/pulling/merging/applying changes
- Completely sync a type archive, pushing/pulling/merging/applying changes
- Upload a file, with database, to the remote under the given project
- Upload a file, with database, to the remote under the given project
- Upload a type archive
- Upload a type archive