plg_backend_git

package
v0.2.2-0...-091e9c0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const GitCachePath = "data/cache/git/"

Variables

View Source
var GitCache AppCache

Functions

This section is empty.

Types

type Git

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

func (Git) Cat

func (g Git) Cat(path string) (io.ReadCloser, error)

func (Git) Close

func (g Git) Close() error

func (Git) Init

func (git Git) Init(params map[string]string, app *App) (IBackend, error)

func (Git) LoginForm

func (g Git) LoginForm() Form

func (Git) Ls

func (g Git) Ls(path string) ([]os.FileInfo, error)

func (Git) Mkdir

func (g Git) Mkdir(path string) error

func (Git) Mv

func (g Git) Mv(from string, to string) error

func (Git) Rm

func (g Git) Rm(path string) error

func (Git) Save

func (g Git) Save(path string, file io.Reader) error

func (Git) Touch

func (g Git) Touch(path string) error

type GitLib

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

type GitParams

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

Jump to

Keyboard shortcuts

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