(packFileName: string)
| 19 | }; |
| 20 | |
| 21 | export const getDBNameFromString = (packFileName: string) => { |
| 22 | const dbNameMatch = packFileName.match(matchDBFileRegex); |
| 23 | if (dbNameMatch == null) return; |
| 24 | const dbName = dbNameMatch[1]; |
| 25 | return dbName; |
| 26 | }; |
| 27 | |
| 28 | export const getDBSubnameFromString = (packFileName: string) => { |
| 29 | const dbNameMatch = packFileName.match(matchDBFileSubnameRegex); |
no outgoing calls
no test coverage detected