Interface Trees


@Immutable public interface Trees
GitHub Git Data Trees.
Since:
0.8
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    create(jakarta.json.JsonObject params)
    Create new tree.
    get(String sha)
    Get specific tree by sha.
    Get specific tree recursively by sha.
    Owner of them.
  • Method Details

    • 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:
    • getRec

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

      Tree create(jakarta.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