Skip to content

Commit 16b121a

Browse files
committed
Support getting the prefix map from IndexStoreCreationOptions
1 parent 2bec8b2 commit 16b121a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/IndexStoreDB_Index/include/IndexStoreDB_Index/IndexStoreCXX.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ class IndexStoreCreationOptions {
5555

5656
bool hasPrefixMappings() const { return !prefixMap.empty(); }
5757

58+
const std::vector<std::pair<std::string, std::string>> &getPrefixMap() const { return prefixMap; }
59+
5860
/// Convert this into a `indexstore_creation_options_t` that the caller
5961
/// owns and is responsible for disposing.
6062
indexstore_creation_options_t createOptions(const indexstore_functions_t &api) const {

0 commit comments

Comments
 (0)