Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PageGitRepo ¶
type PageGitRepo struct { RepoDir string // contains filtered or unexported fields }
PageGitRepo is remote GIT repo
func NewPageGitRepo ¶
func NewPageGitRepo(localDir, repoURL, repoBranch, repoToken string, projectID uint) *PageGitRepo
NewPageGitRepo returns new initialized instance of PageGitRepo
func (*PageGitRepo) Pull ¶
func (p *PageGitRepo) Pull() error
Pull fetches latest project version from repository using REST API and extracts it to localDir
func (*PageGitRepo) Push ¶
func (p *PageGitRepo) Push() error
Push pushes changes to repo using REST API
Click to show internal directories.
Click to hide internal directories.