From 02d659545562a5b0923f22c872344c5f10c76143 Mon Sep 17 00:00:00 2001 From: qydysky Date: Mon, 3 Aug 2020 02:25:43 +0800 Subject: [PATCH] 27 --- CheckFile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CheckFile.go b/CheckFile.go index 530265b..b34dda7 100644 --- a/CheckFile.go +++ b/CheckFile.go @@ -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)) -- 2.39.2