git

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 33 Imported by: 1

Documentation

Index

Constants

View Source
const (
	USER_EMAIL = "user.email"
	USER_NAME  = "user.name"

	GLOBAL = "--global"
	UNSET  = "--unset"
	LIST   = "--list"
)
View Source
const (
	CLONE  = "clone"
	PULL   = "pull"
	PUSH   = "push"
	LOG    = "log"
	TAG    = "tag"
	ADD    = "add"
	COMMIT = "commit"
)
View Source
const (
	BRANCH  = "branch"
	MASTER  = "master"
	REMOTE  = "remote"
	ORIGIN  = "origin"
	CONFIG  = "config"
	IGNORE  = "ignore"
	INDEX   = "index"
	TAGS    = "tags"
	VERSION = "version"
	FORWORD = "forword"
	MESSAGE = "message"
	AUTHOR  = "author"
	WHEN    = "when"

	REMOTE_URL = "remoteURL"
)
View Source
const (
	INFO_REFS    = "info/refs"
	UPLOAD_PACK  = "upload-pack"
	RECEIVE_PACK = "receive-pack"
)
View Source
const (
	INIT      = "init"
	DIFF      = "diff"
	INSTEADOF = "insteadof"
	OAUTH     = "oauth"
	STASH     = "stash"
	CHECKOUT  = "checkout"
)
View Source
const CLIENT = "client"
View Source
const CONFIGS = "configs"
View Source
const COUNTS = "counts"
View Source
const GIT = "git"
View Source
const REPOS = "repos"
View Source
const SERVICE = "service"
View Source
const SPIDES = "spides"
View Source
const STATUS = "status"
View Source
const TOTAL = "total"
View Source
const TRENDS = "trends"

Variables

View Source
var Index = &ice.Context{Name: GIT, Help: "代码库"}

Functions

func Prefix added in v1.5.6

func Prefix(arg ...string) string

func ReposClone added in v1.5.13

func ReposClone(m *ice.Message, arg ...string) *ice.Message

func ReposInit added in v1.6.3

func ReposInit(m *ice.Message, arg ...string) *ice.Message

func ReposList added in v1.4.4

func ReposList(m *ice.Message) *ice.Message

func ServeReceivePack added in v1.5.14

func ServeReceivePack(info bool, srvCmd ServerCommand, path string) error

func ServeUploadPack added in v1.5.14

func ServeUploadPack(info bool, srvCmd ServerCommand, path string) error

func TableGo added in v1.5.5

func TableGo(m *ice.Message, cb ice.Any) *ice.Message

Types

type ServerCommand added in v1.5.14

type ServerCommand struct {
	Stdout io.Writer
	Stderr io.Writer
	Stdin  io.Reader
}

Jump to

Keyboard shortcuts

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