Interface Blobs


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

    Modifier and Type
    Method
    Description
    create(String content, String encoding)
    Create a blob.
    get(String sha)
    Get specific blob by sha.
    Owner of them.
  • Method Details

    • repo

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

      Blob get(String sha)
      Get specific blob by sha.
      Parameters:
      sha - SHA of a blob
      Returns:
      Blob
      See Also:
    • create

      Blob create(String content, String encoding) throws IOException
      Create a blob.
      Parameters:
      content - Content
      encoding - Encoding
      Returns:
      A new blob
      Throws:
      IOException - If there is any I/O problem
      See Also: