NAME

Git::LowLevel::Tree - class representing a tree object in a GIT Repository

VERSION

version 0.1

ATTRIBUTES

repository

the repository the tree lives in

reference

the reference the tree lives in

path

the path to the tree object

hash

the hash identifying the tree object

tree

the tree entries

parent

the parent of the object within the tree

METHODS

get

returns an array of all the tree objects

empty

tests if the tree is empty

newBlob

create a new blob entry

newTree

create a new tree entry

add

add a new tree element

del

delete an element from the tree

save

save the full tree to the git object safe

treeEntry

return a string representing a tree entry

find

find a path within the tree

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