Package com.jcabi.github
Interface Blobs
-
@Immutable public interface Blobs
Github Git Data Blobs.- Since:
- 0.8
- Version:
- $Id: 77c98da6cb9aa994b88ec39da0e3daf334d52f9d $
- Author:
- Carlos Miranda ([email protected])
- See Also:
- Blobs API
-
-
Method Detail
-
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:
- Get single blob
-
create
Blob create(String content, String encoding) throws IOException
Create a blob.- Parameters:
content
- Contentencoding
- Encoding- Returns:
- A new blob
- Throws:
IOException
- If there is any I/O problem- See Also:
- Create a Blob
-
-