| 17 | } |
| 18 | |
| 19 | string DebugPrint(Status status) |
| 20 | { |
| 21 | switch (status) |
| 22 | { |
| 23 | case Status::Undefined: return "EUndefined"s; |
| 24 | case Status::OnDisk: return "OnDisk"s; |
| 25 | case Status::NotDownloaded: return "NotDownloaded"s; |
| 26 | case Status::DownloadFailed: return "DownloadFailed"s; |
| 27 | case Status::Downloading: return "Downloading"s; |
| 28 | case Status::Applying: return "Applying"s; |
| 29 | case Status::InQueue: return "InQueue"s; |
| 30 | case Status::UnknownError: return "Unknown"s; |
| 31 | case Status::OnDiskOutOfDate: return "OnDiskOutOfDate"s; |
| 32 | case Status::OutOfMemFailed: return "OutOfMemFailed"s; |
| 33 | } |
| 34 | UNREACHABLE(); |
| 35 | } |
| 36 | |
| 37 | string DebugPrint(NodeStatus status) |
| 38 | { |
no outgoing calls
no test coverage detected