Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetterImpl ¶
type GetterImpl struct {
// contains filtered or unexported fields
}
GetterImpl is a concrete implementation of the Getter interface
func (*GetterImpl) Get ¶
func (g *GetterImpl) Get(uri, dst string) error
Get attempts to retrieve a folder from a remote location and stores it at the destination.
If force was set to true when creating a Getter then the destination folder will automatically be overwritten.
Returns error on failure
func (*GetterImpl) SetForce ¶
func (g *GetterImpl) SetForce(force bool)
SetForce sets the force flag causing all downloads to overwrite the destination
Click to show internal directories.
Click to hide internal directories.