Magidoc

TreeEntry
Object

Represents a Git tree entry.

Fields

#

extension

The extension of the file

isGenerated

Non-null

Whether or not this tree entry is generated

language

The programming language this file is written in.

lineCount

Number of lines in the file.

mode

Non-null

Entry file mode.

name

Non-null

Entry file name.

nameRaw

Non-null

Entry file name. (Base64-encoded)

object

Entry file object.

oid

Non-null

Entry file Git object ID.

path

The full path of the file.

pathRaw

The full path of the file. (Base64-encoded)

repository

Non-null

The Repository the tree entry belongs to

size

Non-null

Entry byte size

submodule

If the TreeEntry is for a directory occupied by a submodule project, this returns the corresponding submodule

type

Non-null

Entry file type.

Usages

#

References

#

  • Field entries from Tree