chore: clean all vulture 80% confidence dead code
All checks were successful
Code check / Check code (push) Successful in 1m45s

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-12-21 19:34:32 +05:00
parent 6457084d56
commit 58bbff8e69
10 changed files with 10 additions and 276 deletions

View File

@@ -126,8 +126,6 @@ class Downloader(QObject):
self._has_internet = True
return self._has_internet
def reset_internet_check(self):
self._has_internet = None
def _get_url_lock(self, url):
with self._global_lock:
@@ -247,9 +245,6 @@ class Downloader(QObject):
with self._global_lock:
self._cache.clear()
def is_cached(self, url):
with self._global_lock:
return url in self._cache
def get_latest_legendary_release(self):
"""Get the latest legendary release info from GitHub API."""