MCPcopy
hub / github.com/astral-sh/ty / schemastore_repos

Method schemastore_repos

scripts/update_schemastore.py:43–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 HTTPS = "https"
42
43 def schemastore_repos(self) -> SchemastoreRepos:
44 match self:
45 case GitProtocol.SSH:
46 return SchemastoreRepos(
47 fork="git@github.com:astral-sh/schemastore.git",
48 upstream="git@github.com:SchemaStore/schemastore.git",
49 )
50 case GitProtocol.HTTPS:
51 return SchemastoreRepos(
52 fork="https://github.com/astral-sh/schemastore.git",
53 upstream="https://github.com/SchemaStore/schemastore.git",
54 )
55 case _:
56 assert_never(self)
57
58
59def update_schemastore(

Callers 1

mainFunction · 0.80

Calls 1

SchemastoreReposClass · 0.85

Tested by

no test coverage detected