Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Checkout(repo Repository, commit string) error Clone(url, dst string) (*Repository, error) }
type ClientImpl ¶
type ClientImpl struct{}
func (*ClientImpl) Checkout ¶
func (c *ClientImpl) Checkout(repo Repository, commit string) error
func (*ClientImpl) Clone ¶
func (c *ClientImpl) Clone(url, dst string) (*Repository, error)
type Repository ¶
func NewLocalRepository ¶
func NewLocalRepository(path string) (*Repository, error)
func NewRepository ¶
func NewRepository(u url.URL) Repository
Click to show internal directories.
Click to hide internal directories.