Interface Trees


  • @Immutable
    public interface Trees
    Github Git Data Trees.
    Since:
    0.8
    Version:
    $Id: 0d173931617164ee833a0b8ba8f5836b60f0687c $
    Author:
    Carlos Miranda ([email protected])
    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