## CookbookResult


What [cookbook](cookbook.md#useful_views.cookbook) did, or found with `check=True`.


Usage

``` python
CookbookResult(
    path,
    written,
    up_to_date,
    recipes=(),
    findings=(),
)
```


## Attributes


`path: Path`  
The cookbook file, `cookbook.json` at the project root.

`written: bool`  
True if the file was created or changed.

`up_to_date: bool`  
True if the file on disk matches the project's recipes (after writing, always True; with `check=True`, the answer).

`recipes: tuple[str, …]`  
The recipes in the cookbook, in run order.

`findings: tuple`  
With `check=True`, the [check](check.md#useful_views.check) findings that mean the recorded recipes no longer match the recipe folders (so the cookbook cannot be up to date); otherwise empty.
