Max Howell
0e061f9cc8
Adds kind fixes deleting broken symlinks
...
`delete()` and other functions would check `exists` to do certain behaviors, but `exists` will validate a symlink if the entry is a symlink, thus instead we check if the path is an actual entry now instead.
2019-03-18 19:47:49 -04:00
Max Howell
8b371fa5d2
Allow initialization from Substring etc.
2019-03-06 15:55:51 -05:00
Max Howell
476cdc1461
Add Path.components
2019-02-15 13:38:36 -05:00
Max Howell
709c3fb99d
Symlink funcs & support NSURL file-refs
...
* Also removes most `NSString` usage
* Also does more thorough testing in some places
* Also adds
* Fixes `Path?(_:)` resolving symlinks in some cases
2019-02-11 14:04:06 -05:00
Max Howell
b9abd07318
More coverage
2019-01-31 19:09:36 -05:00
Max Howell
c456081e65
More coverage
2019-01-31 14:26:09 -05:00
Max Howell
ec6c0113f9
Remaining code coverage
...
Can’t do coverage for Linux unfortunately.
2019-01-31 13:11:50 -05:00
Max Howell
62ea0d47b3
Fixes & increased code coverage
2019-01-31 12:15:31 -05:00
Max Howell
c6e840b9b6
Add rename
2019-01-31 08:39:54 -05:00
Max Howell
19c0c19bb6
Entry.files defaults to all files
2019-01-28 12:04:47 -05:00
Max Howell
859164e59f
Dynamic Members
2019-01-26 13:23:25 -05:00
Max Howell
58d026c8a9
Fix copy(into:) overwrite mode
...
Seems like Linux Foundation has a bug
I checked, seems fixed in Swift 5. But added a swift version check se we can verify and if not report the bug.
2019-01-22 15:26:04 -05:00
Max Howell
920f007660
Fix Linux testEnumerationSkippingHiddenFiles()
2019-01-20 17:32:39 -05:00
Max Howell
e0c62108e8
Update Linux tests
2019-01-20 16:30:02 -05:00
Max Howell
b4c92f86dc
Fix tests on Linux
2019-01-17 18:23:22 -05:00
Max Howell
97e9cbaa8f
.some
2019-01-17 17:12:54 -05:00