Clay Ellis
Clay Ellis
This would essentially be a way of visualizing `psql`'s `\dT` command to view the enum types and `\dT+` to view all of their values (or `\dT+ some_enum_name`).
@JohnSundell what do you think about this change? It makes sense to me. We've come across bugs in the past (due to missing `/`'s) that could have easily been prevented...
After a deeper dive, looks like `FileManager` itself relies heavily on `String` paths which may be enough precedent to stick with `String`. I'd still be interested in hearing your thoughts,...
Right, `URL` has a very robust API. I love using it. I wonder why [FileManager](https://developer.apple.com/documentation/foundation/filemanager) uses `String` everywhere, though. Most of its methods have a `URL` counterpart, but not all....
@rob-nash @JohnSundell I've started a [WIP branch](https://github.com/clayellis/Files/tree/url) for the conversion. This is an extremely preliminary branch with all tests passing. A few of the public APIs were broken (with plans...
The [URL branch](https://github.com/clayellis/Files/tree/url) is starting to look better. Let's have a conversation about the tradeoffs before moving forward with a PR.
@rob-nash I haven't tested targeting iOS, I've just been targeting macOS while playing around. @JohnSundell yeah, that's what I've felt, too. Files is primarily meant for scripting and having to...
@JohnSundell is there a reason why the home directory is accessed [through environment variables](https://github.com/JohnSundell/Files/blob/06f95bd1bf4f8d5f50bc6bb30b808c253acd4c88/Sources/Files.swift#L1111) instead of `NSHomeDirectory()`? I feel like that may have been on purpose (to inject a home...
@rob-nash I've made the branch backwards compatible with iOS 8 and tvOS 9 👍
@rob-nash Yeah, probably 👍