diff options
| author | Dan Engelbrecht <[email protected]> | 2025-08-19 14:03:02 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-08-19 14:03:02 +0200 |
| commit | 6bdaf6ad6e1308aae12845b20bf06a4406ba0c03 (patch) | |
| tree | 718a2bb2016d4e88084c21e2868a3efca34a5926 /src/zencore/compactbinaryfile.cpp | |
| parent | 5.6.17 (diff) | |
| download | zen-6bdaf6ad6e1308aae12845b20bf06a4406ba0c03.tar.xz zen-6bdaf6ad6e1308aae12845b20bf06a4406ba0c03.zip | |
zen print fixes/improvements (#469)
- Improvement: `zen print` now allows output of compact binary content even if they are in non-optimal format (Unifom vs Non-Uniform arrays and objects)
- Feature: `zen print` now has a `--show-type-info` option to add type information to output of compact binary content
- Bugfix: Stats information for Build Store (Zen Store Cache) no longer throws exception and outputs invalid state information
Diffstat (limited to 'src/zencore/compactbinaryfile.cpp')
| -rw-r--r-- | src/zencore/compactbinaryfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/compactbinaryfile.cpp b/src/zencore/compactbinaryfile.cpp index f2121a0bd..1526c21d5 100644 --- a/src/zencore/compactbinaryfile.cpp +++ b/src/zencore/compactbinaryfile.cpp @@ -19,7 +19,7 @@ LoadCompactBinaryObject(const std::filesystem::path& FilePath) IoBuffer ObjectBuffer = ObjectFile.Flatten(); - if (CbValidateError Result = ValidateCompactBinary(ObjectBuffer, CbValidateMode::All); Result == CbValidateError::None) + if (CbValidateError Result = ValidateCompactBinary(ObjectBuffer, CbValidateMode::Default); Result == CbValidateError::None) { CbObject Object = LoadCompactBinaryObject(ObjectBuffer); const IoHash WorkerId = IoHash::HashBuffer(ObjectBuffer); |