This commit is contained in:
dengqn 2024-08-30 09:15:47 +08:00
parent 53cc29b44f
commit 5061bcc8e0
1 changed files with 1 additions and 1 deletions

2
lv.go
View File

@ -123,7 +123,7 @@ func add() {
Version: max + 1, Version: max + 1,
}) })
fmt.Println("meta:", meta) // fmt.Println("meta:", meta)
storage.SaveMeta(util.ToHashHex(fullPath), meta) storage.SaveMeta(util.ToHashHex(fullPath), meta)
storage.CopyData(fullPath, meta.Versions[len(meta.Versions)-1]) storage.CopyData(fullPath, meta.Versions[len(meta.Versions)-1])