Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Sep 14, 2023
1 parent 7f77ced commit 08359ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
5 changes: 2 additions & 3 deletions bzlmod/find_workspace_dir.hh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <optional>

namespace bzlmod {
auto find_workspace_dir(
std::filesystem::path start_dir
) -> std::optional<std::filesystem::path>;
auto find_workspace_dir(std::filesystem::path start_dir)
-> std::optional<std::filesystem::path>;
}
7 changes: 4 additions & 3 deletions bzlreg/add_module.hh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
namespace bzlreg {
struct add_module_options {
std::filesystem::path registry_dir;
std::string_view archive_url;
std::string_view strip_prefix;
std::string_view archive_url;
std::string_view strip_prefix;
};

auto add_module(add_module_options options) -> int;
}
} // namespace bzlreg
4 changes: 2 additions & 2 deletions bzlreg/module_bazel.hh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ struct bazel_dep {
std::string_view name;
std::string_view version;
};

struct module_bazel {
static auto parse( //
std::string_view contents
) -> std::optional<module_bazel>;

std::string_view name;
std::string_view version;
int compatibility_level;
int compatibility_level;

std::vector<bazel_dep> bazel_deps;
};
Expand Down

0 comments on commit 08359ec

Please sign in to comment.