20std::filesystem::path
odCacheFilePath(
const std::filesystem::path& data_dir,
21 uint32_t vendor_id, uint32_t product_code,
27 std::vector<std::filesystem::path>
deleted;
29 std::vector<std::pair<std::filesystem::path, std::string>>
failed;
OdCacheClearResult clearOdCache(const std::filesystem::path &data_dir)
Deletes every object dictionary cache file in the data directory.
Definition od_cache.cc:53
std::filesystem::path odCacheFilePath(const std::filesystem::path &data_dir, uint32_t vendor_id, uint32_t product_code, uint32_t revision)
Returns the path of the object dictionary cache file of a device.
Definition od_cache.cc:46
The outcome of clearOdCache().
Definition od_cache.h:25
std::vector< std::pair< std::filesystem::path, std::string > > failed
The cache files that could not be deleted, each with the reason.
Definition od_cache.h:29
std::vector< std::filesystem::path > deleted
The cache files that were deleted.
Definition od_cache.h:27