- class genvid.toolbox.Manifest(stats: Optional[Iterable[FileStats]] = None)
- class Op(value)
enum.Enumof the operations able to represent the difference between two manifests.
- Added = '+'
- Updated = '*'
- Deleted = '-'
- Identical = '='
- difference(manifest: ManifestType, *, allstats: bool = False) Iterable[tuple[genvid.toolbox.sync.Manifest.Op, genvid.toolbox.sync.FileStats]]
Compute the difference between two manifests. The difference is returned as a list of files and the associated operation to apply.
manifest – The manifest to compare to.
allstats – If all changes need to be returns. By default, only operations that change the files are returns.