mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 06:09:04 +00:00
* Run the documentation pipeline when doc/ is edited + various rendering fixes * Fix inverted condition
291 B
291 B
ContainerState
Container::State() casts directly from WslcContainerState.
Underlying C values:
Invalid = 0Created = 1Running = 2Exited = 3Deleted = 4
auto state = container.State();
if (state == static_cast<ContainerState>(2))
{
// running
}