Harshavardhana
4d2be23260
cast to mirror
2015-07-30 23:10:47 -07:00
Harshavardhana
ded42e0df2
Rename cast to mirror
2015-07-30 16:20:07 -07:00
Harshavardhana
1afc92cb49
Add cast syntax check logic
...
-- TypeA for both cast and copy targetURL check shouldn't fail it it doesn't exist
such is a common occurrence of not having a target, instead we verify if it exists
is it a directory?
-- Rename all 'directory' references to folder
2015-07-24 14:43:47 -07:00
Harshavardhana
363c06d8f7
Rename sync to cast
2015-07-17 18:27:45 -07:00
Harshavardhana
97f693ce1f
Use console.JSON to print in API style for session, ls, cp and sync
2015-07-15 23:18:08 -07:00
Harshavardhana
d4047ca899
Cleanup minio, remote struct printing for Info, Error and Fatal - simplifying overall error handling
2015-07-14 11:02:04 -07:00
Harshavardhana
25237c4e20
Remove InfoMessage structs, we don't need to add this as API handling for json
2015-07-13 09:40:29 -07:00
Harshavardhana
f10801fb18
Make json umarshalling as part of print-structs
2015-07-12 09:55:30 -07:00
Harshavardhana
46bf1af56c
Treating --json as quiet mode for cp and sync operations
2015-06-30 10:26:48 -07:00
Harshavardhana
9971d4964c
mc session related changes
2015-06-29 23:12:28 -07:00
Harshavardhana
01b10bd4b1
Simplify target2Client and sourc2Client usage - use url2Stat()
2015-06-23 16:49:23 -07:00
Harshavardhana
9b901bac21
Fix sync bug when in TypeA and TypeB sync style source doesn't exist
2015-06-22 15:57:02 -07:00
Harshavardhana
4b88ad7786
Move to structure printing everywhere, fix incorrect iodine usage at few places
2015-06-22 15:29:36 -07:00
Harshavardhana
1dbb2e2b96
Add more structured informational messages
2015-06-22 11:33:14 -07:00
Harshavardhana
1983caf2e2
Attempt to make informational message a structure
2015-06-22 07:44:08 -07:00
Harshavardhana
a772ef963b
Remove Reason: prefix for error prints
2015-05-29 01:12:56 -07:00
Harshavardhana
eeb71d212a
Add missing String() method for ErrorMessage struct as well
2015-05-24 13:13:28 -07:00