Copy copies the file stored at srcKey to dstKey. If srcKey file doesn't exist, it returns ErrNotFound. If dstKey file already exists, it is overwritten.
(srcKey, dstKey string)
| 171 | // |
| 172 | // If dstKey file already exists, it is overwritten. |
| 173 | func (s *System) Copy(srcKey, dstKey string) error { |
| 174 | return s.bucket.Copy(s.ctx, dstKey, srcKey) |
| 175 | } |
| 176 | |
| 177 | // List returns a flat list with info for all files under the specified prefix. |
| 178 | func (s *System) List(prefix string) ([]*blob.ListObject, error) { |