Error implements the error interface.
()
| 126 | |
| 127 | // Error implements the error interface. |
| 128 | func (e errUnsupportedURLScheme) Error() string { |
| 129 | return fmt.Sprintf("%s unsupported, should be s3[a]://BUCKET/DIR_PATH/FILE_NAME or DIR_PATH/FILE_NAME (no scheme)", string(e)) |
| 130 | } |
| 131 | |
| 132 | // If the path is a full s3/s3a/s3n url the extract the bucket, key and scheme from |
| 133 | // it and return them, else use the bucket from the instance, path as key and |
no outgoing calls