mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-15 07:43:21 +00:00
Fixed the nesting file name
This commit is contained in:
@@ -109,7 +109,7 @@ func (storage *StorageBase) SetNestingLevels(config *Config) {
|
|||||||
exist, _, _, err := storage.DerivedStorage.GetFileInfo(0, "nesting")
|
exist, _, _, err := storage.DerivedStorage.GetFileInfo(0, "nesting")
|
||||||
if err == nil && exist {
|
if err == nil && exist {
|
||||||
nestingFile := CreateChunk(CreateConfig(), true)
|
nestingFile := CreateChunk(CreateConfig(), true)
|
||||||
if storage.DerivedStorage.DownloadFile(0, "config", nestingFile) == nil {
|
if storage.DerivedStorage.DownloadFile(0, "nesting", nestingFile) == nil {
|
||||||
var nesting struct {
|
var nesting struct {
|
||||||
ReadLevels []int `json:"read-levels"`
|
ReadLevels []int `json:"read-levels"`
|
||||||
WriteLevel int `json:"write-level"`
|
WriteLevel int `json:"write-level"`
|
||||||
|
|||||||
Reference in New Issue
Block a user