]> 127.0.0.1 Git - part/.git/commitdiff
27
authorqydysky <qydysky@foxmail.com>
Sun, 2 Aug 2020 18:25:43 +0000 (02:25 +0800)
committerqydysky <qydysky@foxmail.com>
Sun, 2 Aug 2020 18:25:43 +0000 (02:25 +0800)
CheckFile.go

index 530265b16c2c9c6ba105294176fa5ca1c924956a..b34dda794e715d74584312eca235f6856fb444de 100644 (file)
@@ -48,7 +48,7 @@ func (this *checkfile) Build(checkFile,root,checkDir,SplitString string,usemd5 b
 }
 
 func (this *checkfile) IsExist(f string) bool {
-       var returnVal bool
+       var returnVal chan bool
        go func(){
                _, err := os.Stat(f)
                returnVal <- (err == nil || os.IsExist(err))