diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-03-18 12:58:19 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-03-20 10:48:05 +0100 |
commit | e18e0bfe533f5f22a32aae28e6ddd486bdbd4d7d (patch) | |
tree | 05772b8a0595a6ef53daea7d5fff7bf3a8cf88df /src | |
parent | 998e5c5be2d1a647928a3123fb09f8aa9aa96e81 (diff) | |
download | justbuild-e18e0bfe533f5f22a32aae28e6ddd486bdbd4d7d.tar.gz |
Add data-structure specific for adding files to CAS
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/common/cli.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buildtool/common/cli.hpp b/src/buildtool/common/cli.hpp index 5b8df960..7b4f3987 100644 --- a/src/buildtool/common/cli.hpp +++ b/src/buildtool/common/cli.hpp @@ -184,6 +184,11 @@ struct GcArguments { bool no_rotate{}; }; +struct ToAddArguments { + std::filesystem::path location{}; + bool follow_symlinks{}; +}; + static inline auto SetupCommonArguments( gsl::not_null<CLI::App*> const& app, gsl::not_null<CommonArguments*> const& clargs) { |