is_v01_checkpoint_layout

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

is_v01_checkpoint_layout(root: str | Path) → bool[source]

Return whether root holds a v0.1 checkpoint tree.

Parameters:

root – Candidate checkpoint directory.

Returns:

True when manifest.json or subjects/ is present at the root (not inside an archive subdirectory).