lib/model: Check dir before deletion when pulling (#6741)

This commit is contained in:
Simon Frei
2020-06-16 15:20:08 +02:00
committed by GitHub
parent dbacef35c4
commit 6976219d6d
3 changed files with 105 additions and 34 deletions
+6
View File
@@ -163,9 +163,15 @@ var SkipDir = filepath.SkipDir
// IsExist is the equivalent of os.IsExist
var IsExist = os.IsExist
// IsExist is the equivalent of os.ErrExist
var ErrExist = os.ErrExist
// IsNotExist is the equivalent of os.IsNotExist
var IsNotExist = os.IsNotExist
// ErrNotExist is the equivalent of os.ErrNotExist
var ErrNotExist = os.ErrNotExist
// IsPermission is the equivalent of os.IsPermission
var IsPermission = os.IsPermission