Skip to main content

github.gettreeprops

Home > @runlightyear/github > GetTreeProps

GetTreeProps interface

Signature:
interface GetTreeProps 

Required Properties

PropertyModifiersTypeDescription
ownerstringThe account owner of the repository. The name is not case sensitive.
repostringThe name of the repository without the .git extension. The name is not case sensitive.
treeShastringThe SHA1 value or ref (branch or tag) name of the tree.

Optional Properties

PropertyModifiersTypeDescription
recursive?string | boolean | numberSetting this parameter to any value returns the objects or subtrees referenced by the tree specified in :tree_sha. For example, setting recursive to any of the following will enable returning objects or subtrees: 0, 1, "true", and "false". Omit this parameter to prevent recursively returning objects or subtrees.