vc

package
v0.0.0-...-7532ee5 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const VcDir = ".vc"

Variables

This section is empty.

Functions

func Branch

func Branch(name, oid string)

func CatFile

func CatFile(hash string)

func Checkout

func Checkout(oid string)

func DoCommit

func DoCommit(message string)

func GetOid

func GetOid(name string) string

func HashObject

func HashObject(path string)

func Init

func Init()

func K

func K()

func Log

func Log(oid string)

func ReadTree

func ReadTree(treeOid string)

func Status

func Status()

func Tag

func Tag(name, oid string)

func WriteTree

func WriteTree(path string)

Types

type Commit

type Commit struct {
	Tree    string
	Parent  string
	Message string
}

type RefValue

type RefValue struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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