1
0
mirror of https://github.com/minio/mc.git synced 2025-11-12 01:02:26 +03:00

Fix sync bug when in TypeA and TypeB sync style source doesn't exist

This commit is contained in:
Harshavardhana
2015-06-22 15:56:58 -07:00
parent 4b88ad7786
commit 9b901bac21
4 changed files with 46 additions and 2 deletions

View File

@@ -53,6 +53,13 @@ type cpURLs struct {
Error error
}
func (c cpURLs) IsEmpty() bool {
if c.SourceContent == nil && c.TargetContent == nil {
return true
}
return false
}
type cpURLsType uint8
const (