Package com.jcabi.github
Interface Gitignores
-
@Immutable public interface Gitignores
Github Gitignore.Defines storage of .gitignore templates
- Since:
- 0.8
- Version:
- $Id: af78fa09b33427112fc304812feb96db81e83b49 $
- Author:
- Paul Polishchuk (ppol@ua.fm)
- See Also:
- Gitignore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Github
github()
Get its owner.Iterable<String>
iterate()
Iterate them all.String
template(String name)
Gets raw gitignore template.
-
-
-
Method Detail
-
github
Github github()
Get its owner.- Returns:
- Github
-
iterate
Iterable<String> iterate() throws IOException
Iterate them all.- Returns:
- Iterator of Gitignote template names
- Throws:
IOException
- If it fails due to I/O problem- See Also:
- Listing available templates
-
template
String template(String name) throws IOException
Gets raw gitignore template.- Parameters:
name
- Name of the template- Returns:
- Raw template
- Throws:
IOException
- If it fails due to I/O problem
-
-