git

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitConfig

type GitConfig struct {
	RepoURL              string
	Branch               string
	FileName             string
	CommitAuthor         string
	CommitEmail          string
	AuthUsername         string
	AuthPassword         string
	AuthSSHKey           string
	AuthSSHKeyPassphrase string
}

type GitProvider

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

func NewGitProvider

func NewGitProvider(config GitConfig) (*GitProvider, error)

func (*GitProvider) Download

func (p *GitProvider) Download(w io.Writer) error

func (*GitProvider) GetName

func (p *GitProvider) GetName() string

func (*GitProvider) GetSize

func (p *GitProvider) GetSize() (int64, error)

func (*GitProvider) Upload

func (p *GitProvider) Upload(sourceFilePath string, _ string) error

Jump to

Keyboard shortcuts

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