refactor
This commit is contained in:
@ -194,7 +194,6 @@ auto file_manager::evict_file(const std::string &api_path) -> bool {
|
|||||||
|
|
||||||
auto removed = remove_source_and_shrink_cache(api_path, source_path, fsi.size,
|
auto removed = remove_source_and_shrink_cache(api_path, source_path, fsi.size,
|
||||||
allocated);
|
allocated);
|
||||||
|
|
||||||
if (removed) {
|
if (removed) {
|
||||||
event_system::instance().raise<filesystem_item_evicted>(api_path,
|
event_system::instance().raise<filesystem_item_evicted>(api_path,
|
||||||
source_path);
|
source_path);
|
||||||
|
Reference in New Issue
Block a user