struct Agate::TreeEntry

Overview

Represents a tree entry (a file or subdirectory in a tree).

Defined in:

agate/tree.cr

Instance Method Summary

Instance Method Detail

def blob? : Bool #

Returns true if this entry is a blob (file).


[View source]
def filemode : Agate::FileMode #

[View source]
def name : String #

[View source]
def oid : Agate::OID #

[View source]
def tree? : Bool #

Returns true if this entry is a tree (directory).


[View source]
def type : Agate::Object::Type #

[View source]