Skip to content

Commit 91524d6

Browse files
committed
Support getting the prefix map from IndexStoreCreationOptions
1 parent 7f0287c commit 91524d6

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+
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)