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

Function log

src/git_sim/commands.py:165–181  ·  view source on GitHub ↗
(
    ctx: typer.Context,
    n: int = typer.Option(
        None,
        "-n",
        help="Number of commits to display from branch heads",
    ),
    all: bool = typer.Option(
        False,
        "--all",
        help="Display all local branches in the log output",
    ),
)

Source from the content-addressed store, hash-verified

163
164
165def log(
166 ctx: typer.Context,
167 n: int = typer.Option(
168 None,
169 "-n",
170 help="Number of commits to display from branch heads",
171 ),
172 all: bool = typer.Option(
173 False,
174 "--all",
175 help="Display all local branches in the log output",
176 ),
177):
178 from git_sim.log import Log
179
180 scene = Log(ctx=ctx, n=n, all=all)
181 handle_animations(scene=scene)
182
183
184def merge(

Callers

nothing calls this directly

Calls 2

LogClass · 0.90
handle_animationsFunction · 0.70

Tested by

no test coverage detected