module GitHub::REST::Trees

Overview

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

Direct including types

Defined in:

githubcr/rest.cr

Instance Method Summary

Instance Method Detail

def create_tree(owner : String, repository : String, payload : TreePayload) : Tree #

[View source]
def 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.


[View source]