repo

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch struct {
	Basepath string
	Items    []BatchItem
}

type BatchItem

type BatchItem struct {
	Path     string
	Filename string
	Content  interface{}
}

type Codebase

type Codebase struct {
	Version     int64    `json:"version,string,omitempty"`
	Path        string   `json:"path,omitempty"`
	Main        string   `json:"main,omitempty"`
	Base        string   `json:"base,omitempty"`
	Files       []string `json:"files,omitempty"`
	EditFiles   []string `json:"editFiles,omitempty"`
	ErasedFiles []string `json:"erasedFiles,omitempty"`
	Derived     []string `json:"derived,omitempty"`
}

type PipyRepoClient

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

func NewRepoClient

func NewRepoClient(repoRootUrl string, logLevel string) *PipyRepoClient

func NewRepoClientWithTransport

func NewRepoClientWithTransport(repoRootUrl string, transport *http.Transport, logLevel string) *PipyRepoClient

func (*PipyRepoClient) Batch

func (p *PipyRepoClient) Batch(batches []Batch) error

func (*PipyRepoClient) CodebaseExists added in v1.1.0

func (p *PipyRepoClient) CodebaseExists(path string) bool

func (*PipyRepoClient) DeriveCodebase

func (p *PipyRepoClient) DeriveCodebase(path, base string) error

func (*PipyRepoClient) GetFile

func (p *PipyRepoClient) GetFile(path string) (string, error)

func (*PipyRepoClient) IsRepoUp

func (p *PipyRepoClient) IsRepoUp() bool

Jump to

Keyboard shortcuts

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