| 321 | } |
| 322 | |
| 323 | std::vector<BundleResource> |
| 324 | Bundle::FindResources(std::string const& path, std::string const& filePattern, bool recurse) const |
| 325 | { |
| 326 | if (!d) |
| 327 | { |
| 328 | throw std::invalid_argument("invalid bundle"); |
| 329 | } |
| 330 | |
| 331 | d->CheckUninstalled(); |
| 332 | return d->barchive ? d->barchive->FindResources(path, filePattern, recurse) : std::vector<BundleResource>(); |
| 333 | } |
| 334 | |
| 335 | Bundle::TimeStamp |
| 336 | Bundle::GetLastModified() const |