# README

deploystack/github

This package contains code for communicating between github and DeployStack. This code is used primarily for tooling - getting repos so that other tools can download and look at code. It is also used by the main tool for pulling down content directly instead of relying on Open in Cloud Shell.

# Functions

Branch sets the branch on a repo.
New generates Github from a series of options.
NewRepo generates Github from a url that might contain branch information Deprecated: Use New() Instead.
Owner sets the owner on a repo.
SiteURL sets the owner, name, and branch of a repo based on a URL.

# Constants

GITHUBHOST is the hostname of where to find github on the web.

# Structs

Repo contains the details of a github repo for the purpose of downloading.

# Type aliases

Option defines option functions that can be passed in to modify repos on New.