diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-07-08 10:29:05 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-07-08 17:18:20 +0200 |
commit | b9880e8ecdce02f047dfb1d19de5f1ed07a82ac6 (patch) | |
tree | 15590ac7a8ac0c5fbf052e47ae80c9382f88e489 /src/buildtool/common/artifact.hpp | |
parent | bf159b19daf72627de01987cfbb12461705a5f22 (diff) | |
download | justbuild-b9880e8ecdce02f047dfb1d19de5f1ed07a82ac6.tar.gz |
In install-cas be more liberal in parsing artifact identifiers
Diffstat (limited to 'src/buildtool/common/artifact.hpp')
-rw-r--r-- | src/buildtool/common/artifact.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildtool/common/artifact.hpp b/src/buildtool/common/artifact.hpp index 6c97ab24..3f68a351 100644 --- a/src/buildtool/common/artifact.hpp +++ b/src/buildtool/common/artifact.hpp @@ -86,6 +86,9 @@ class Artifact { } return std::nullopt; } + + [[nodiscard]] static auto LiberalFromString( + std::string const& s) noexcept -> ObjectInfo; }; explicit Artifact(ArtifactIdentifier id) noexcept : id_{std::move(id)} {} |