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

Copy rewrite

This commit is contained in:
Anand Babu (AB) Periasamy
2015-05-03 01:48:47 -07:00
parent afcd1deac8
commit 90d4b452a9
22 changed files with 836 additions and 490 deletions

View File

@@ -91,6 +91,7 @@ func (e errAliasExists) Error() string {
return "Alias name: " + e.name + " exists"
}
/*
type errIsNotBucket struct {
path string
}
@@ -99,6 +100,15 @@ func (e errIsNotBucket) Error() string {
return "Not a bucket " + e.path
}
// errInvalidAuthKeys - invalid authorization keys
type errInvalidAuthKeys struct {
}
func (e errInvalidAuthKeys) Error() string {
return "Invalid authorization keys"
}
*/
type errInvalidSource struct {
path string
}
@@ -107,10 +117,10 @@ func (e errInvalidSource) Error() string {
return "Invalid source " + e.path
}
type errIsNotFolder struct {
type errInvalidTarget struct {
path string
}
func (e errIsNotFolder) Error() string {
return "Not a folder " + e.path
func (e errInvalidTarget) Error() string {
return "Invalid source " + e.path
}