self_forge

package
v0.0.0-...-9cb7562 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckoutBranch

func CheckoutBranch(repoName string, branchShort string) (string, error)

Checkout a branch (empty `branchShort` uses default branch) and return the branch short name

func GetAllLocalRepos

func GetAllLocalRepos() (map[string]bool, error)

Get all local repositories by name

func GetContext

func GetContext(repoName string, extra string) ([]string, []gitFile, []gitCommit, error)

Get branches, files, and commits, for a repository and optional extra path

func Start

func Start()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL