Documentation ¶
Index ¶
- type Batch
- type BatchItem
- type Codebase
- type PipyRepoClient
- func (p *PipyRepoClient) Batch(batches []Batch) error
- func (p *PipyRepoClient) CodebaseExists(path string) bool
- func (p *PipyRepoClient) DeleteCodebase(path string) (success bool, err error)
- func (p *PipyRepoClient) DeriveCodebase(path, base string) error
- func (p *PipyRepoClient) GetFile(path string) (string, error)
- func (p *PipyRepoClient) IsRepoUp() bool
- func (p *PipyRepoClient) ListFiles(path string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) DeleteCodebase ¶ added in v1.4.4
func (p *PipyRepoClient) DeleteCodebase(path string) (success bool, err error)
DeleteCodebase delete codebase
func (*PipyRepoClient) DeriveCodebase ¶
func (p *PipyRepoClient) DeriveCodebase(path, base string) error
func (*PipyRepoClient) IsRepoUp ¶
func (p *PipyRepoClient) IsRepoUp() bool
Click to show internal directories.
Click to hide internal directories.