SyncResult

What sync did.

Usage

Source

SyncResult(
    removed,
    dropped,
    deleted,
    ran,
    warnings,
    reasons=dict(),
)

Attributes

removed: tuple[str, …]

Recipes whose records were removed because their folder is gone.

dropped: tuple[str, …]

Views removed from a record because the recipe no longer declares them.

deleted: tuple[str, …]

Files deleted: views no longer declared, and the work/ folders of the removed recipes (ending in “/”).

ran: tuple[str, …]

Recipes run, in the order they ran.

warnings: tuple[str, …]

Warnings issued along the way (also shown as they happen).

reasons: dict[str, str]
Why each recipe in ran ran: “never-run”, “changed” (its recipe.toml or steps no longer matched its record), “outputs-changed”, “views-missing”, “upstream” (a view it reads was made again) or “all” (all=True).