mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Fix caching for installed platforms and libraries
This commit is contained in:
@ -32,7 +32,6 @@ class LibraryManager(object):
|
|||||||
fu = FileUnpacker(pkgpath, dest_dir)
|
fu = FileUnpacker(pkgpath, dest_dir)
|
||||||
return fu.start()
|
return fu.start()
|
||||||
|
|
||||||
@util.memoized
|
|
||||||
def get_installed(self):
|
def get_installed(self):
|
||||||
items = {}
|
items = {}
|
||||||
if not isdir(self.lib_dir):
|
if not isdir(self.lib_dir):
|
||||||
|
@ -132,7 +132,6 @@ class PlatformFactory(object):
|
|||||||
return module
|
return module
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@util.memoized
|
|
||||||
def _lookup_platforms(cls):
|
def _lookup_platforms(cls):
|
||||||
platforms = {}
|
platforms = {}
|
||||||
for d in (util.get_home_dir(), util.get_source_dir()):
|
for d in (util.get_home_dir(), util.get_source_dir()):
|
||||||
|
Reference in New Issue
Block a user