Diff#
Description#
Take two catalog files produced by the catalog command, and return files unique to a, unique to b, and different in three lists.
The diff command compares two catalogs, and can be used to find out what has changed or what are the differences between two different copies of the same subtree.
For usage examples, see the Tutorial. For CLI options, run wrapp diff --help.
Python API Reference#
- async wrapp.diff(
- catalog_a: str,
- catalog_b: str,
- ignore_tags: bool,
Take two catalog files produced by the catalog command, and return files unique to a, unique to b, and different in three lists
- Parameters:
catalog_a – File name of catalog A
catalog_b – File name of catalog B
ignore_tags – Specify this to ignore tags
- Returns:
Tuple of three lists (unique_to_a, unique_to_b, differing_items)