Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrObjectExists indicates a specified object already exists. ErrObjectExists = fmt.Errorf("object already exists") // ErrObjectIsNewer indicates a specified object is newer or same age. ErrObjectIsNewer = fmt.Errorf("object is newer or same age") // ErrObjectSizesMatch indicates the sizes of objects match. ErrObjectSizesMatch = fmt.Errorf("object size matches") // ErrObjectIsNewerAndSizesMatch indicates the specified object is newer or same age and sizes of objects match. ErrObjectIsNewerAndSizesMatch = fmt.Errorf("%v and %v", ErrObjectIsNewer, ErrObjectSizesMatch) )
Functions ¶
func IsCancelation ¶
IsCancelation reports whether if given error is a cancelation error.
Types ¶
type Error ¶
type Error struct { // Op is the operation being performed, usually the name of the method // being invoked (copy, move, etc.) Op string // Src is the source argument Src *url.URL // Dst is the destination argument Dst *url.URL // The underlying error if any Err error }
Error is the type that implements error interface.
func (*Error) FullCommand ¶
FullCommand returns the command string that occurred at.
Click to show internal directories.
Click to hide internal directories.