/** * Starts a builder that creates a new repository. * * <p> * You use the returned builder to set various properties, then call {@link GHCreateRepositoryBuilder#create()} * to finally createa repository. */ public GHCreateRepositoryBuilder createRepository(String name) { return new GHCreateRepositoryBuilder(root,"/orgs/"+login+"/repos",name); }
/** * Starts a builder that creates a new repository. * * <p> * You use the returned builder to set various properties, then call {@link GHCreateRepositoryBuilder#create()} * to finally createa repository. */ public GHCreateRepositoryBuilder createRepository(String name) { return new GHCreateRepositoryBuilder(root,"/orgs/"+login+"/repos",name); }
/** * Starts a builder that creates a new repository. * * <p> * You use the returned builder to set various properties, then call {@link GHCreateRepositoryBuilder#create()} * to finally createa repository. * * <p> * To create a repository in an organization, see * {@link GHOrganization#createRepository(String, String, String, GHTeam, boolean)} */ public GHCreateRepositoryBuilder createRepository(String name) { return new GHCreateRepositoryBuilder(this,"/user/repos",name); }
/** * Starts a builder that creates a new repository. * * <p> * You use the returned builder to set various properties, then call {@link GHCreateRepositoryBuilder#create()} * to finally createa repository. * * <p> * To create a repository in an organization, see * {@link GHOrganization#createRepository(String, String, String, GHTeam, boolean)} */ public GHCreateRepositoryBuilder createRepository(String name) { return new GHCreateRepositoryBuilder(this,"/user/repos",name); }