gitinfo

package
v0.0.0-...-95be186 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package gitinfo gets information about the git repo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitInfo

type GitInfo struct {
	Hash      string
	GithubURL string
}

GitInfo contains information about the latest config of the repo.

func GetGitInfo

func GetGitInfo(wd string) (GitInfo, error)

GetGitInfo gets GitInfo in the specified working directory wd.

Jump to

Keyboard shortcuts

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