Interface Forks


  • @Immutable
    public interface Forks
    Github forks.
    Since:
    0.8
    Version:
    $Id: 43991b9f368b832844b19fc26cdedffc74524a1a $
    Author:
    Carlos Miranda (miranda.cma@gmail.com)
    See Also:
    Forks API
    • Method Detail

      • repo

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

        Iterable<Fork> iterate​(String sort)
        Iterate all forks.
        Parameters:
        sort - The sort order.
        Returns:
        All forks
        See Also:
        List forks
      • create

        Fork create​(String organization)
             throws IOException
        Create a fork for the authenticated user.
        Parameters:
        organization - The organization the repository will be forked into.
        Returns:
        The new fork
        Throws:
        IOException - If there is any I/O problem
        See Also:
        Create a fork