Interface Trees


  • @Immutable
    public interface Trees
    Github Git Data Trees.
    Since:
    0.8
    Version:
    $Id: 22a571669f4886d3588a538eeaa6d01bfb206176 $
    Author:
    Carlos Miranda (miranda.cma@gmail.com)
    See Also:
    Trees API
    • Method Detail

      • repo

        Repo repo()
        Owner of them.
        Returns:
        Repo
      • get

        Tree get​(String sha)
        Get specific tree by sha.
        Parameters:
        sha - Tree sha
        Returns:
        Tree
        See Also:
        Get a tree
      • getRec

        Tree getRec​(String sha)
        Get specific tree recursively by sha.
        Parameters:
        sha - Tree sha
        Returns:
        Tree
        See Also:
        Get a tree
      • create

        Tree create​(javax.json.JsonObject params)
             throws IOException
        Create new tree.
        Parameters:
        params - Parameters to create new tree
        Returns:
        Tree
        Throws:
        IOException - If there is any I/O problem