MCPcopy Index your code
hub / github.com/initialcommit-com/git-sim / fetch

Function fetch

src/git_sim/commands.py:142–155  ·  view source on GitHub ↗
(
    remote: str = typer.Argument(
        default=None,
        help="The name of the remote to fetch from",
    ),
    branch: str = typer.Argument(
        default=None,
        help="The name of the branch to fetch",
    ),
)

Source from the content-addressed store, hash-verified

140
141
142def fetch(
143 remote: str = typer.Argument(
144 default=None,
145 help="The name of the remote to fetch from",
146 ),
147 branch: str = typer.Argument(
148 default=None,
149 help="The name of the branch to fetch",
150 ),
151):
152 from git_sim.fetch import Fetch
153
154 scene = Fetch(remote=remote, branch=branch)
155 handle_animations(scene=scene)
156
157
158def init():

Callers

nothing calls this directly

Calls 2

FetchClass · 0.90
handle_animationsFunction · 0.70

Tested by

no test coverage detected