MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / get_mirror_path

Method get_mirror_path

aura/mirror.py:19–26  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

17
18 @classmethod
19 def get_mirror_path(cls) -> typing.Optional[Path]:
20 if cls._mirror_path is None:
21 if env_path := os.environ.get('AURA_MIRROR_PATH', None):
22 cls._mirror_path = Path(env_path)
23 else:
24 cls._mirror_path = Path(CFG["aura"]["mirror"])
25
26 return cls._mirror_path
27
28 @classmethod
29 def list_packages(cls) -> typing.Generator[Path, None, None]:

Callers 8

get_jsonMethod · 0.95
url2localMethod · 0.95
read_urisFunction · 0.80
scan_mirrorFunction · 0.80
from_cachedMethod · 0.80
list_packagesMethod · 0.80
__init__Method · 0.80

Calls 1

getMethod · 0.80

Tested by 1