gitlet

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AddAll

func AddAll(dir string) error

func GetDiff

func GetDiff() (string, error)

func GetFileList

func GetFileList() (string, error)

func OpenRepo added in v1.8.0

func OpenRepo()

func Push added in v1.6.0

func Push(_ *cli.Context) error

func RunCommand

func RunCommand(cmd string, dir string) (string, error)

Types

type Message added in v1.6.0

type Message struct {
	object.Signature
	Msg string
}

func NewGitInfo

func NewGitInfo(msg string, scope config.Scope) (*Message, error)

func (*Message) Commit added in v1.6.0

func (gi *Message) Commit() error

Jump to

Keyboard shortcuts

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