module

GitHub::REST::Trees

This module is specifically for interacting with the Trees endpoints GitHub offers us to use. see GitHub Trees endpoints

Instance methods

create_tree(owner : String, repository : String, payload : TreePayload) : Tree
Source
get_tree(owner : String, repository : String, tree_sha : String) : Tree

If truncated is true in the response then the number of items in the tree array exceeded our maximum limit. If you need to fetch more items, use the non-recursive. method of fetching trees, and fetch one sub-tree at a time.

Source