githandler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 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"`
	FileTree filehandler.FileTreeStruct `json:"file_tree"`

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

func (*GitStateStruct) HashEngine

func (g *GitStateStruct) HashEngine(ctx ftp_context.Context, n int) <-chan ftp_context.LogErr

Jump to

Keyboard shortcuts

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