genode/repos/gems/src/app/depot_query
Norman Feske 854a154fb4 depot_query: cache file-system accesses
This patch introduces two caches to the depot-query tool.

- A stat cache remembers the results of 'Directory::file_exists'
  calls.

- The 'Cached_rom_query' caches the result of scanning the depot
  for a given ROM module and pkg path. To elminates the need to
  parse 'archive' files of pkgs referenced from other pkgs or
  for the repeated instantation of the same pkg.

Both caches are bypassed whenever referring to the 'local' depot user.

Fixes #3427
2019-07-09 08:58:38 +02:00
..
main.cc depot_query: cache file-system accesses 2019-07-09 08:58:38 +02:00
target.mk gems: enable strict warnings for depot_query 2018-04-10 11:09:18 +02:00