Package com.jcabi.github
Interface Blobs
-
@Immutable public interface Blobs
Github Git Data Blobs.- Since:
- 0.8
- Version:
- $Id: f03a88cbbcbea674a46587c7209402a5b4128431 $
- Author:
- Carlos Miranda (miranda.cma@gmail.com)
- 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
-
-