summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/Utility.cpp
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-04-14 02:01:45 -0400
committerMason Reed <mason@vector35.com>2025-04-14 03:20:51 -0400
commit09a617a7a86207eaf09ccd5ebc72e734275baa66 (patch)
treeba2888f3c6a6e0b012bcc93d4c29ed1230201473 /view/sharedcache/core/Utility.cpp
parente311e603a8e7f855ce09f68cc45f08c35571144c (diff)
[SharedCache] Improve the gathering of cache entries in view init
This commit addresses some of the issues regarding the retrieval of cache entries during view init, we now will try and store information in the database about the given shared cache entries so that we can better alert the user to possible issues during the loading of saved shared cache databases. We also simplified the logic so that the flow for retrieving the primary file cache is easier and users should be prompted when necessary to select the primary cache file if we cannot. More errors will also be shown to provide the users with more information about the shared cache and what issues they might have. For example we will now try and warn the users when they are opening a shared cache with less entries than what the shared cache reports having. We will also warn the users when opening a database if a previous secondary cache file is no longer available. In the future we can also utilize the shared cache UUID's for individual files to do a more aggressive search across directories in a project. This will make the file name lookup stuff potentially unnecessary, at least when opening a database with all file UUID's stored.
Diffstat (limited to 'view/sharedcache/core/Utility.cpp')
0 files changed, 0 insertions, 0 deletions