logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Git::Raw::Diff::Stats - Git diff statistics class

Author

       Alessandro Ghedini <alexbio@cpan.org>

       Jacques Germishuys <jacquesg@cpan.org>

Description

       A Git::Raw::Diff::Stats represents diff statistics.

       WARNING: The API of this module is unstable and may change without warning (any change will be
       appropriately documented in the changelog).

Methods

deletions()
       Total number of deletions in the diff.

   insertions()
       Total number of insertions in the diff.

   files_changed()
       Total number of files changed in the diff.

   buffer([\%options])
       •   "flags"

           Flags for generating the diff stats buffer. Valid values include:

           •       "full"

                   Full statistics similar to core git's "--stat".

           •       "short"

                   Short statistics similar to core git's "--shortstat".

           •       "number"

                   Number statistics similar to core git's "--numstat".

           •       "summary"

                   Include extended header information such as creations, renames and mode changes.

Name

       Git::Raw::Diff::Stats - Git diff statistics class

Version

       version 0.90

See Also