mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-04 04:34:45 -06:00
Tab spacing fixes
This commit is contained in:
@@ -1054,7 +1054,7 @@ func (manager *BackupManager) UploadSnapshot(chunkMaker *ChunkMaker, uploader *C
|
|||||||
if _, found := chunkCache[chunkID]; found {
|
if _, found := chunkCache[chunkID]; found {
|
||||||
completionFunc(chunk, 0, true, chunk.GetLength(), 0)
|
completionFunc(chunk, 0, true, chunk.GetLength(), 0)
|
||||||
} else {
|
} else {
|
||||||
uploader.StartChunk(chunk, len(sequence))
|
uploader.StartChunk(chunk, len(sequence))
|
||||||
}
|
}
|
||||||
sequence = append(sequence, chunk.GetHash())
|
sequence = append(sequence, chunk.GetHash())
|
||||||
},
|
},
|
||||||
@@ -1696,7 +1696,7 @@ func (manager *BackupManager) CopySnapshots(otherManager *BackupManager, snapsho
|
|||||||
|
|
||||||
for _, snapshot := range snapshots {
|
for _, snapshot := range snapshots {
|
||||||
if revisionMap[snapshot.ID][snapshot.Revision] == false {
|
if revisionMap[snapshot.ID][snapshot.Revision] == false {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
otherManager.storage.CreateDirectory(0, fmt.Sprintf("snapshots/%s", snapshot.ID))
|
otherManager.storage.CreateDirectory(0, fmt.Sprintf("snapshots/%s", snapshot.ID))
|
||||||
description, _ := snapshot.MarshalJSON()
|
description, _ := snapshot.MarshalJSON()
|
||||||
|
|||||||
Reference in New Issue
Block a user