Commit Graph
13 Commits
Author SHA1 Message Date
Harshavardhana bd18e3c260 Move back to functional style for simplicity 2015-03-23 15:43:02 -07:00
Harshavardhana d1550045b3 Donut command 2015-03-22 20:03:39 -07:00
Harshavardhana 3403ef08f7 Move from Mini --> Minimalist for all license headers 2015-03-19 15:05:30 -07:00
Harshavardhana 4067b0be18 Move s3errors and make it part of standard s3 package.
Also update 'resourceList' with additional resources from
amazon api.
2015-03-19 00:15:44 -07:00
Harshavardhana 537fa331ba Move from fmt.Errorf to errors.New
In many cases fmt.Errorf is good enough, but since
error is an interface, you can use arbitrary data
structures as error values, to allow callers to
inspect the details of the error.
2015-03-15 19:52:35 -07:00
Harshavardhana 9da373b16d Do not upload already uploaded objects.
fix another bug in Get() and GetPartial()
2015-03-15 17:45:29 -07:00
Anand Babu (AB) Periasamy 0ba286c359 s3 error handling package 2015-03-15 16:39:00 -07:00
Harshavardhana 427e38d837 New changes coming
- moving away from improper s3:// URI to standard http URI's
  - migrate and test all commands ./mc ls, ./mc cp, ./mc cp -r
  - move s3-trace.go s3/pkg/trace.go, make it part of S3 package
    and document it.
  - various other cleanup.
2015-03-15 01:05:54 -07:00
Harshavardhana 8fd4e4a0bb Refactor ./mc cp with various modes of operation
- First mode of operation supports with style `Path` `S3Path` or `Path` `S3Bucket`
- Second mode of operation supports with style `S3Path` `Path` or `S3Path` `.`
- Third mode of operation supports with style `S3Path` `S3Path` or `S3Path` `S3Bucket`
2015-03-12 19:12:19 -07:00
Harshavardhana d8328e1d0f Now ./mc cp supports resume download 2015-03-10 20:31:48 -07:00
Harshavardhana 306ddac9a7 Add strict build with vet, fmt, golint 2015-03-10 01:58:58 -07:00
Harshavardhana ab01be0e3c Split xmltime to new file and update licensing information 2015-03-08 19:18:50 -07:00
Harshavardhana f21dc1a990 Code cleanup and simplification
- Print in human-readable not amazon format
   - Send stat() before accessing object, error gracefully
   - Move client and bucket API operations to their own files
   - Remove unused functions, constants and variables
   - Rename API operations to sensible names
        * GetBucket --> ListObjects
        * Buckets --> ListBuckets
2015-03-08 18:47:45 -07:00