Define ExamineContext, apply it when scanning

This commit is contained in:
Leeingnyo
2021-09-14 22:37:30 +09:00
parent be47f309b0
commit 523195d649
4 changed files with 30 additions and 10 deletions
+7
View File
@@ -133,3 +133,10 @@ class TitleInfo
LRUCache.set generate_cache_entry key, self.to_json
end
end
alias ExamineContext = NamedTuple(
file_count: Int32,
cached_contents_signature: Hash(String, String),
deleted_title_ids: Array(String),
deleted_entry_ids: Array(String)
)