Documentation ¶
Index ¶
- func ModulePath(filename string) (string, error)
- func ModuleVersion(path string) (string, error)
- func Tree(path string, dir string)
- type Repo
- func (r *Repo) Clone(ctx context.Context) error
- func (r *Repo) CopyTo(ctx context.Context, to string, modPath string, ignores []string) error
- func (r *Repo) CopyToV2(ctx context.Context, to string, modPath string, ignores, replaces []string) error
- func (r *Repo) Path() string
- func (r *Repo) Pull(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModulePath ¶
ModulePath returns go module path.
func ModuleVersion ¶
ModuleVersion returns module version.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo is git repository manager.
Click to show internal directories.
Click to hide internal directories.