dreamworkAPI
Ctrl K
GitHub
typeDocs / http / github / Tree / Item

http.github.Tree.Item

typesharedmenusource

A single file or directory in a Tree

Fields

NameTypeDescription
pathstringThe path to the file or directory.
modestringThe type of item that this is. | Mode | Meaning | Types | |:--------|:-----------------------------|:---------| |100644 | Normal file (non-executable) | Blob |100755 | Executable file | Blob |040000 | Directory | Tree |120000 | Symbolic link | Blob |160000 | Git submodule (commit ref) | Commit
typestringThe type of item that this is. One of "blob", "tree", "commit".
shastringThe SHA1 of the item.
sizenumberThe size of the item in bytes.
urlstringThe URL of the item.
Generated from the dreamwork meta branch.