summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/local/local_storage.cpp
diff options
context:
space:
mode:
authorSascha Roloff <sascha.roloff@huawei.com>2022-10-10 13:52:04 +0200
committerSascha Roloff <sascha.roloff@huawei.com>2022-10-11 16:42:39 +0200
commit2680d58bab825e0584d710156d86a887a88f0a4f (patch)
treebba1a60f868daed00cd3be8997c71f7d1aced701 /src/buildtool/execution_api/local/local_storage.cpp
parent06190c253f476c4bde74aa048cd53233091ac3cd (diff)
downloadjustbuild-2680d58bab825e0584d710156d86a887a88f0a4f.tar.gz
Refactor ReadTreeInfos function names and add documentation
Diffstat (limited to 'src/buildtool/execution_api/local/local_storage.cpp')
-rw-r--r--src/buildtool/execution_api/local/local_storage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/execution_api/local/local_storage.cpp b/src/buildtool/execution_api/local/local_storage.cpp
index 2734577b..f784fbf8 100644
--- a/src/buildtool/execution_api/local/local_storage.cpp
+++ b/src/buildtool/execution_api/local/local_storage.cpp
@@ -88,7 +88,7 @@ namespace {
} // namespace
-auto LocalStorage::ReadTreeInfos(
+auto LocalStorage::RecursivelyReadTreeLeafs(
bazel_re::Digest const& tree_digest,
std::filesystem::path const& parent) const noexcept
-> std::optional<std::pair<std::vector<std::filesystem::path>,
@@ -108,7 +108,7 @@ auto LocalStorage::ReadTreeInfos(
return std::nullopt;
}
-auto LocalStorage::ReadTreeInfosDirect(
+auto LocalStorage::ReadDirectTreeEntries(
bazel_re::Digest const& tree_digest,
std::filesystem::path const& parent) const noexcept
-> std::optional<std::pair<std::vector<std::filesystem::path>,