package
Version:
v0.0.0-...-40d815b
Opens a new window with list of versions in this module.
Published: Nov 11, 2024
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.