mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 22:29:03 +00:00
* Run the documentation pipeline when doc/ is edited + various rendering fixes * Fix inverted condition
22 lines
347 B
Markdown
22 lines
347 B
Markdown
# ImageProgressStatus
|
|
|
|
`ImageProgress` casts directly from `WslcImageProgressStatus`.
|
|
|
|
Underlying C values:
|
|
|
|
- `Unknown = 0`
|
|
- `Pulling = 1`
|
|
- `Waiting = 2`
|
|
- `Downloading = 3`
|
|
- `Verifying = 4`
|
|
- `Extracting = 5`
|
|
- `Complete = 6`
|
|
|
|
```cpp
|
|
auto status = progress.Status();
|
|
if (status == static_cast<ImageProgressStatus>(6))
|
|
{
|
|
// complete
|
|
}
|
|
```
|