package
Version:
v0.0.0-...-870cc59
Opens a new window with list of versions in this module.
Published: Apr 22, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Clone clones the repo from the url into the destination
func CloneWithToken(url, branch, destination, token string) error
CloneWithToken clones the repo from the url using access token
which is an alternative for auth to clone private repositories
Pull pulls the latest branch from "origin"
'dotgitPath' is the absolute path to .git directory
'branch' is the branch name which is to be pulled
Source Files
¶
Click to show internal directories.
Click to hide internal directories.