mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Add include_user_metadata parameter to Database::known_bash_tags()
The C++ wrapper defaults it to true, so the behaviour hasn't changed for existing callers.
This commit is contained in:
@@ -60,9 +60,11 @@ void Database::ClearConditionCache() {
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<std::string> Database::GetKnownBashTags() const {
|
||||
std::vector<std::string> Database::GetKnownBashTags(
|
||||
bool includeUserMetadata) const {
|
||||
try {
|
||||
return convert<std::string>(database_->known_bash_tags());
|
||||
return convert<std::string>(
|
||||
database_->known_bash_tags(includeUserMetadata));
|
||||
} catch (const ::rust::Error& e) {
|
||||
std::rethrow_exception(mapError(e));
|
||||
}
|
||||
|
||||
@@ -28,7 +28,8 @@ public:
|
||||
|
||||
void ClearConditionCache() override;
|
||||
|
||||
std::vector<std::string> GetKnownBashTags() const override;
|
||||
std::vector<std::string> GetKnownBashTags(
|
||||
bool includeUserMetadata = true) const override;
|
||||
|
||||
std::vector<std::string> GetUserKnownBashTags() const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user