pkg/environment: Migrate fs functions to fsx

This commit is contained in:
Tom Wiesing 2023-03-02 11:38:30 +01:00
parent 45540ab253
commit 5a43ecfaeb
No known key found for this signature in database
21 changed files with 155 additions and 199 deletions

View file

@ -62,7 +62,7 @@ func couldBeSameFile(env environment.Environment, path1, path2 string) (same, au
}
// only 1 file does not exist => they could be different
if environment.IsNotExist(err1) != environment.IsNotExist(err2) {
if os.IsNotExist(err1) != os.IsNotExist(err2) {
return
}
}