]> 127.0.0.1 Git - part/.git/commitdiff
10
authorqydysky <qydysky@foxmail.com>
Mon, 27 Jul 2020 23:11:30 +0000 (07:11 +0800)
committerqydysky <qydysky@foxmail.com>
Mon, 27 Jul 2020 23:11:30 +0000 (07:11 +0800)
Zip.go

diff --git a/Zip.go b/Zip.go
index d784ebaa08abf717b18cdeffa5beb09ee85f86d6..d0d0450b10fb9e6a8beba2ab2a37e44e2f6549d2 100644 (file)
--- a/Zip.go
+++ b/Zip.go
@@ -139,6 +139,7 @@ func (this *lzip) UnZip(zipFile string, destDir string) error {
 type rZip struct {
     poit *zip.ReadCloser
     buf map[string]*zip.File
+    sync.Mutex
 }
 
 func RZip() *rZip {return &rZip{}}