lib/model: Check dir before deletion when pulling (#6741)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user