summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_api')
-rw-r--r--src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp6
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp2
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp6
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp2
-rw-r--r--src/buildtool/execution_api/remote/config.hpp2
5 files changed, 9 insertions, 9 deletions
diff --git a/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp b/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp
index ef8b2f5d..edc99cff 100644
--- a/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp
+++ b/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp
@@ -253,7 +253,7 @@ template <class T>
return file_node;
}
-/// \brief Create profobuf message DirectoryNode from Artifact::ObjectInfo
+/// \brief Create protobuf message DirectoryNode from Artifact::ObjectInfo
[[nodiscard]] auto CreateDirectoryNodeFromObjectInfo(
std::string const& name,
Artifact::ObjectInfo const& object_info) noexcept
@@ -266,7 +266,7 @@ template <class T>
return dir_node;
}
-/// \brief Create bundle for profobuf message DirectoryNode from Directory.
+/// \brief Create bundle for protobuf message DirectoryNode from Directory.
[[nodiscard]] auto CreateDirectoryNodeBundle(std::string const& dir_name,
bazel_re::Directory const& dir)
-> DirectoryNodeBundle::Ptr {
@@ -311,7 +311,7 @@ template <class T>
return CommandBundle::Create(msg, content_creator, digest_creator);
}
-/// \brief Create bundle for profobuf message Action from Command.
+/// \brief Create bundle for protobuf message Action from Command.
[[nodiscard]] auto CreateActionBundle(
bazel_re::Digest const& command,
bazel_re::Digest const& root_dir,
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp b/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp
index c9914e77..fd0e79cb 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp
@@ -25,7 +25,7 @@
#include "src/buildtool/execution_api/remote/config.hpp"
#include "src/buildtool/logging/logger.hpp"
-/// Implements client side for serivce defined here:
+/// Implements client side for service defined here:
/// https://github.com/bazelbuild/bazel/blob/4b6ad34dbba15dacebfb6cbf76fa741649cdb007/third_party/remoteapis/build/bazel/remote/execution/v2/remote_execution.proto#L137
class BazelAcClient {
public:
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp b/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp
index bcf6df7e..23a7b4d8 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp
@@ -57,7 +57,7 @@ class BazelCasClient {
/// \param[in] instance_name Name of the CAS instance
/// \param[in] begin Start of the blobs to upload
/// \param[in] end End of the blobs to upload
- /// \returns The digests of blobs sucessfully updated
+ /// \returns The digests of blobs successfully updated
[[nodiscard]] auto BatchUpdateBlobs(
std::string const& instance_name,
std::vector<BazelBlob>::const_iterator const& begin,
@@ -68,7 +68,7 @@ class BazelCasClient {
/// \param[in] instance_name Name of the CAS instance
/// \param[in] begin Start of the blobs to upload
/// \param[in] end End of the blobs to upload
- /// \returns The digests of blobs sucessfully updated
+ /// \returns The digests of blobs successfully updated
[[nodiscard]] auto BatchUpdateBlobs(
std::string const& instance_name,
BlobContainer::iterator const& begin,
@@ -79,7 +79,7 @@ class BazelCasClient {
/// \param[in] instance_name Name of the CAS instance
/// \param[in] begin Start of the blobs to upload
/// \param[in] end End of the blobs to upload
- /// \returns The digests of blobs sucessfully updated
+ /// \returns The digests of blobs successfully updated
[[nodiscard]] auto BatchUpdateBlobs(
std::string const& instance_name,
BlobContainer::RelatedBlobList::iterator const& begin,
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp b/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp
index 480caf9c..a528eecb 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp
@@ -26,7 +26,7 @@
#include "src/buildtool/execution_api/remote/config.hpp"
#include "src/buildtool/logging/logger.hpp"
-/// Implements client side for serivce defined here:
+/// Implements client side for service defined here:
/// https://github.com/bazelbuild/bazel/blob/4b6ad34dbba15dacebfb6cbf76fa741649cdb007/third_party/remoteapis/build/bazel/remote/execution/v2/remote_execution.proto#L42
class BazelExecutionClient {
public:
diff --git a/src/buildtool/execution_api/remote/config.hpp b/src/buildtool/execution_api/remote/config.hpp
index 0d674220..b37e9f73 100644
--- a/src/buildtool/execution_api/remote/config.hpp
+++ b/src/buildtool/execution_api/remote/config.hpp
@@ -119,7 +119,7 @@ class RemoteExecutionConfig {
// Server address of cache endpoint for rebuild.
std::optional<ServerAddress> cache_address_{};
- // Platform properies for execution.
+ // Platform properties for execution.
std::map<std::string, std::string> platform_properties_{};
[[nodiscard]] static auto ParseAddress(std::string const& address) noexcept