Fixes & increased code coverage

This commit is contained in:
Max Howell
2019-01-31 11:21:22 -05:00
parent ab9a70e947
commit 62ea0d47b3
7 changed files with 182 additions and 19 deletions

View File

@@ -130,6 +130,9 @@ public extension Path {
Deletes the path, recursively if a directory.
- Note: noop: if the path doesnt exist
*Path.swift* doesnt error if desired end result preexists.
- Note: On UNIX will this function will succeed if the parent directory is writable and the current user has permission.
- Note: This function will fail if the file or directory is locked
- SeeAlso: `lock()`
*/
@inlinable
func delete() throws {