Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildManifest ¶ added in v1.1.6
func BuildManifest(rootDir string, ignorer *PathIgnorer) (map[string]string, error)
func ComputeFileHash ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(cfg ClientConfig) (*Client, error)
type ClientConfig ¶
type FileContent ¶ added in v1.1.6
type FileRequest ¶ added in v1.1.6
type FileRequest struct {
Paths []string `json:"paths"`
}
type FilesResponse ¶ added in v1.1.6
type FilesResponse struct {
Files []FileContent `json:"files"`
}
type ManifestResponse ¶ added in v1.1.6
type PathIgnorer ¶
type PathIgnorer struct {
// contains filtered or unexported fields
}
func NewPathIgnorer ¶
func NewPathIgnorer(ignoreStr string) *PathIgnorer
func (*PathIgnorer) IsIgnored ¶
func (pi *PathIgnorer) IsIgnored(path string) bool
Click to show internal directories.
Click to hide internal directories.