classChanges#

class Changes(
added: tuple[str, ...] = (),
updated: tuple[str, ...] = (),
removed: tuple[str, ...] = (),
unchanged: tuple[str, ...] = (),
conflicts: tuple[str, ...] = (),
orphaned: tuple[str, ...] = (),
unresolved: tuple[PackEntry, ...] = (),
)#

What a sync would do, or did. Each field holds paths relative to the instance.

added#

Files the pack adds.

Type:

tuple[str, …]

updated#

Files the pack replaces.

Type:

tuple[str, …]

removed#

Files the pack no longer has.

Type:

tuple[str, …]

unchanged#

Files that already match.

Type:

tuple[str, …]

conflicts#

Files the pack changes that the player also changed. They are kept unless overwrite is set.

Type:

tuple[str, …]

orphaned#

Files the pack no longer has that the player changed. They are kept.

Type:

tuple[str, …]

unresolved#

Pack entries that have no download.

Type:

tuple[PackEntry, …]