diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-16 09:35:30 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2025-01-21 11:06:11 +0100 |
commit | 4ffa6374dbf67fe386bab041d67a46c3ce75cc23 (patch) | |
tree | d8c54ade2418f8247aa89d1ae9a50ddfaf04be6b /src/buildtool/file_system/precomputed_root.hpp | |
parent | e6243c6bca5c478cf5588c1433d7e246f8a3daf5 (diff) | |
download | justbuild-4ffa6374dbf67fe386bab041d67a46c3ce75cc23.tar.gz |
Just: Support absent tree structure roots
Diffstat (limited to 'src/buildtool/file_system/precomputed_root.hpp')
-rw-r--r-- | src/buildtool/file_system/precomputed_root.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildtool/file_system/precomputed_root.hpp b/src/buildtool/file_system/precomputed_root.hpp index 6df59bc9..f3495418 100644 --- a/src/buildtool/file_system/precomputed_root.hpp +++ b/src/buildtool/file_system/precomputed_root.hpp @@ -45,8 +45,10 @@ struct ComputedRoot final { struct TreeStructureRoot final { static constexpr auto kMarker = "tree structure"; static constexpr std::size_t kSchemeLength = 2; + static constexpr std::size_t kSchemePragmaLength = 3; std::string repository; + bool absent; [[nodiscard]] auto operator==(TreeStructureRoot const& other) const noexcept -> bool; |