InstallReport#
| Member | Kind | What it is |
|---|---|---|
everything_was_cached | property | True when the blob cache answered every file of the payload. |
to_dict | method | Return what the install did as JSON: the paths as text and the files by list. |
downloaded | attribute | Files the cache did not hold and that were downloaded. |
downloaded_bytes | attribute | Size of the downloaded files, in bytes. |
entry_config | attribute | The TOML file to run first, relative to project_dir. |
example_id | attribute | Id of the installed example, as hmp.example() lists it. |
kept | attribute | Files (and station rows) already there with another content, kept. |
project_dir | attribute | Project folder of the example, <workspace>/projects/<directory>. |
source | attribute | Root the missing files were fetched from: the release tag on GitHub by default, or the value of HMP_EXAMPLES_SOURCE. |
stations_written | attribute | Station rows added to or replaced in a workspace station registry. |
unchanged | attribute | Files already there with the expected content, left as they were. |
workspace | attribute | Workspace root the example was installed into. |
written | attribute | Files copied into the workspace, as paths relative to its root. |
-
class InstallReport(
)[source]#example_id,workspace,project_dir,source,written=<factory>,unchanged=<factory>,kept=<factory>,downloaded=<factory>,downloaded_bytes=0,entry_config='',stations_written=<factory>,
What one
hmp example addactually did.- property everything_was_cached: bool[source]#
True when the blob cache answered every file of the payload.
- kept: list[str]#
Files (and station rows) already there with another content, kept.
Somebody edited them. Install again with
force=Trueto overwrite them.