1
0
mirror of https://github.com/minio/mc.git synced 2025-11-14 23:42:27 +03:00

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
This commit is contained in:
Harshavardhana
2015-03-08 18:23:33 -07:00
parent d941a665bc
commit f21dc1a990
8 changed files with 443 additions and 449 deletions

View File

@@ -48,7 +48,6 @@ import (
"io"
"io/ioutil"
"net"
//"log"
"net/http"
"net/url"
"sort"