Git::Raw::Diff::File(3pm)

Git::Raw::Diff::File3pm

Git diff file class

Version

version 0.90

Overview

A Git::Raw::Diff::File represents one side of a diff delta.

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

Methods

id( )

Retrieve the id of the diff file as a string.

path( )

Retrieve the path of the diff file.

size( )

Retrieve the size of the diff file.

flags( )

Retrieve the flags associated with the delta. Returns an array reference with zero or more of the following:

•

"binary"

Files treated as binary data.

•

"valid_id"

"id" value is known correct.

mode( )

Retrieve the diff file mode. Returns one of the following:

•

"unreadable"

•

"tree"

•

"blob"

•

"blob_executable"

•

"link"

•

"commit"

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Author

Alessandro Ghedini <[email protected]>

Jacques Germishuys <[email protected]>

From libgit-raw-perl 0.90+ds-3+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.