class Git::Commands::Fsck

Implements the ‘git fsck` command

Verifies the connectivity and validity of objects in the database. It checks the integrity of the repository, reporting any dangling, missing, or unreachable objects.

@example Typical usage

fsck = Git::Commands::Fsck.new(execution_context)
fsck.call
fsck.call('abc1234', 'def5678')
fsck.call(unreachable: true, strict: true)
fsck.call(no_dangling: true)

@note ‘arguments` block audited against git-scm.com/docs/git-fsck/2.53.0

@see git-scm.com/docs/git-fsck git-fsck

@see Git::Commands

@api private