diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-05 16:49:45 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-07-22 17:01:13 +0200 |
commit | beb3faa6956b9bfd58d4ea6644a9b2987409aaba (patch) | |
tree | 9a1edee40bfe335717eb856237372d50127367ac /src/buildtool/execution_api/local/local_cas_reader.cpp | |
parent | 30f2b4a215ebd4f9c0c491f41de6e8eb56ed3fdf (diff) | |
download | justbuild-beb3faa6956b9bfd58d4ea6644a9b2987409aaba.tar.gz |
Use HashFunction functionality via Instance()
...to track changes during refactoring easier.
Diffstat (limited to 'src/buildtool/execution_api/local/local_cas_reader.cpp')
-rw-r--r-- | src/buildtool/execution_api/local/local_cas_reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/local/local_cas_reader.cpp b/src/buildtool/execution_api/local/local_cas_reader.cpp index a8933adc..504b4c74 100644 --- a/src/buildtool/execution_api/local/local_cas_reader.cpp +++ b/src/buildtool/execution_api/local/local_cas_reader.cpp @@ -60,7 +60,7 @@ auto LocalCasReader::ReadGitTree(ArtifactDigest const& digest) const noexcept }; return GitRepo::ReadTreeData( *content, - HashFunction::ComputeTreeHash(*content).Bytes(), + HashFunction::Instance().ComputeTreeHash(*content).Bytes(), check_symlinks, /*is_hex_id=*/false); } |