diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-05-27 11:42:59 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-05-28 16:19:19 +0200 |
commit | 9bdd30f307b83a3901250a51780f308f5c4a0065 (patch) | |
tree | 56b26bd1624dbdd7768791e99745331f02f8f2f1 /src/buildtool/execution_api/common/artifact_blob_container.hpp | |
parent | 95df0b6d1bb7d65bdf02533cb7067067000776d3 (diff) | |
download | justbuild-9bdd30f307b83a3901250a51780f308f5c4a0065.tar.gz |
Use ArtifactBlob in BlobTree instead of BazelBlob.
Diffstat (limited to 'src/buildtool/execution_api/common/artifact_blob_container.hpp')
-rw-r--r-- | src/buildtool/execution_api/common/artifact_blob_container.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/buildtool/execution_api/common/artifact_blob_container.hpp b/src/buildtool/execution_api/common/artifact_blob_container.hpp new file mode 100644 index 00000000..7aea21ab --- /dev/null +++ b/src/buildtool/execution_api/common/artifact_blob_container.hpp @@ -0,0 +1,23 @@ +// Copyright 2024 Huawei Cloud Computing Technology Co., Ltd. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef INCLUDED_SRC_BUILDTOOL_EXECUTION_API_COMMON_ARTIFACT_BLOB_CONTAINER_HPP +#define INCLUDED_SRC_BUILDTOOL_EXECUTION_API_COMMON_ARTIFACT_BLOB_CONTAINER_HPP + +#include "src/buildtool/common/artifact_digest.hpp" +#include "src/buildtool/execution_api/common/content_blob_container.hpp" + +using ArtifactBlob = ContentBlob<ArtifactDigest>; + +#endif // INCLUDED_SRC_BUILDTOOL_EXECUTION_API_COMMON_ARTIFACT_BLOB_CONTAINER_HPP |