summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/just_mr/utils.cpp')
-rw-r--r--src/other_tools/just_mr/utils.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/utils.cpp b/src/other_tools/just_mr/utils.cpp
index 57ef6830..be0e841e 100644
--- a/src/other_tools/just_mr/utils.cpp
+++ b/src/other_tools/just_mr/utils.cpp
@@ -44,6 +44,11 @@ auto CreateTypedTmpDir(std::string const& type) noexcept -> TmpDirPtr {
return TmpDir::Create(parent_path);
}
+auto GetCommitTreeIDFile(std::string const& commit) noexcept
+ -> std::filesystem::path {
+ return StorageConfig::BuildRoot() / "commit-tree-map" / commit;
+}
+
auto GetArchiveTreeIDFile(std::string const& repo_type,
std::string const& content) noexcept
-> std::filesystem::path {