The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Git::LowLevel::Blob - class representing a GIT Blow Object

VERSION

version 0.4

DESCRIPTION

Class representing a Blob object within the Git::LowLevel distribution.

Blobs in git normally hold any type of file data.

ATTRIBUTES

repository

the repository the blob lives in

hash

the hash identifying the blob, only set if the blob exist/is created in the repository

path

the path identifying the blob

parent

the parent of the object within the tree

METHODS

timestamp_added

returns the timestamp of the commit where this object was added or undef if object has not been commited yet.

timestamp_last

returns the timestamp of the last commit of this object or undef if object has not been commited yet.

committer

returns the committer of the the object

mypath

content

return the content of the Blob

save

save content to git object and update hash

treeEntry

return a string representing a tree entry

find

find a path within the tree

del

delete the blob

AUTHOR

Dominik Meyer <dmeyer@federationhq.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Dominik Meyer.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991