diff options
Diffstat (limited to 'src/buildtool/storage/garbage_collector.hpp')
-rw-r--r-- | src/buildtool/storage/garbage_collector.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/buildtool/storage/garbage_collector.hpp b/src/buildtool/storage/garbage_collector.hpp index c4ceaf8a..28a5f08b 100644 --- a/src/buildtool/storage/garbage_collector.hpp +++ b/src/buildtool/storage/garbage_collector.hpp @@ -42,6 +42,13 @@ class GarbageCollector { bool is_executable) noexcept -> bool; + /// \brief Uplink large blob entry across LocalCASes from all generations to + /// latest. This method does not splice the large object. + /// \param digest Digest of the large blob entry to uplink. + /// \returns true if large entry was found and successfully uplinked. + [[nodiscard]] auto static GlobalUplinkLargeBlob( + bazel_re::Digest const& digest) noexcept -> bool; + /// \brief Uplink tree across LocalCASes from all generations to latest. /// Note that the tree will be deeply uplinked, i.e., all entries referenced /// by this tree will be uplinked before (including sub-trees). |