githandler

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommand

func ExecuteCommand(ctx ftp_context.Context, dir string, command string, arg ...string) (stdout []byte, stderr string, err ftp_context.LogErr)

Types

type GitEngine

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

func (*GitEngine) Commit

func (gte *GitEngine) Commit(path string) error

func (*GitEngine) Init

func (gte *GitEngine) Init(ctx ftp_context.Context)

type GitStateStruct

type GitStateStruct struct {
	F filehandler.FileHash `json:"git_state"`

	CommitMessage string `json:"commit_message"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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