зеркало из https://github.com/electron/electron.git
chore: remove unused method asar::ClearArchives() (#43442)
chore: remove unused asar::ClearArchives()
last use removed in Jun 2021 (b1d1ac65
, #29293)
This commit is contained in:
Родитель
c1eee18e41
Коммит
7f34b0e6f5
|
@ -77,13 +77,6 @@ std::shared_ptr<Archive> GetOrCreateAsarArchive(const base::FilePath& path) {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
void ClearArchives() {
|
||||
base::AutoLock auto_lock(GetArchiveCacheLock());
|
||||
ArchiveMap& map = GetArchiveCache();
|
||||
|
||||
map.clear();
|
||||
}
|
||||
|
||||
bool GetAsarArchivePath(const base::FilePath& full_path,
|
||||
base::FilePath* asar_path,
|
||||
base::FilePath* relative_path,
|
||||
|
|
|
@ -20,9 +20,6 @@ struct IntegrityPayload;
|
|||
// Gets or creates and caches a new Archive from the path.
|
||||
std::shared_ptr<Archive> GetOrCreateAsarArchive(const base::FilePath& path);
|
||||
|
||||
// Destroy cached Archive objects.
|
||||
void ClearArchives();
|
||||
|
||||
// Separates the path to Archive out.
|
||||
bool GetAsarArchivePath(const base::FilePath& full_path,
|
||||
base::FilePath* asar_path,
|
||||
|
|
Загрузка…
Ссылка в новой задаче