hg

package
v0.0.0-...-ef490db Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package hg contains vcs info for hg

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentBookmark

func CurrentBookmark() (string, error)

CurrentBookmark returns current bookmark, returns "" if not in bookmark.

func Status

func Status() (int, error)

Status returns hg status to vcs status, error if it is not a hg repo.

Types

type HG

type HG struct {
}

func (*HG) GetVCSInfo

func (s *HG) GetVCSInfo(path string, user *user.User, conf *config.Config) *vcs.VCSInfo

Jump to

Keyboard shortcuts

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