We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 299c3fc commit 036def4Copy full SHA for 036def4
Sources/Utility/misc.swift
@@ -32,7 +32,9 @@ public func rmtree(_ components: String...) throws {
32
do {
33
try POSIX.rmdir(dir)
34
} catch .rmdir(let errno, _) as SystemError where errno == ENOENT {
35
- // Ignore ENOENT.
+ // if the directory is not there then proceed
36
+ // this could happen if it was in fact symlinked
37
+ // from another part of the tree etc.
38
}
39
40
try POSIX.rmdir(path)
0 commit comments