Pull the list of Snapshots from the Remote. :param progress: Function to call for progress updates :raises: RuntimeError if there was an error pulling snapshots
(self, progress: 'util.ProgressFuncType' = util.nop)
| 333 | return snapshot.CollabSnapshot(value) |
| 334 | |
| 335 | def pull_snapshots(self, progress: 'util.ProgressFuncType' = util.nop): |
| 336 | """ |
| 337 | Pull the list of Snapshots from the Remote. |
| 338 | |
| 339 | :param progress: Function to call for progress updates |
| 340 | :raises: RuntimeError if there was an error pulling snapshots |
| 341 | """ |
| 342 | if not core.BNRemoteFilePullSnapshots(self._handle, util.wrap_progress(progress), None): |
| 343 | raise RuntimeError(util._last_error()) |
| 344 | |
| 345 | def create_snapshot(self, name: str, contents: bytes, analysis_cache_contents: bytes, file: bytes, parent_ids: List[str], progress: 'util.ProgressFuncType' = util.nop) -> 'snapshot.CollabSnapshot': |
| 346 | """ |
no outgoing calls
no test coverage detected