static
| 367 | |
| 368 | // static |
| 369 | string CountryIndexes::GetPath(LocalCountryFile const & localFile, Index index) |
| 370 | { |
| 371 | char const * ext = nullptr; |
| 372 | switch (index) |
| 373 | { |
| 374 | case Index::Bits: ext = kBitsExt; break; |
| 375 | case Index::Nodes: ext = kNodesExt; break; |
| 376 | case Index::Offsets: ext = kOffsetsExt; break; |
| 377 | } |
| 378 | return base::JoinPath(IndexesDir(localFile), localFile.GetCountryName() + ext); |
| 379 | } |
| 380 | |
| 381 | // static |
| 382 | void CountryIndexes::GetIndexesExts(std::vector<string> & exts) |
no test coverage detected