You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add APIs for checking whether a folder contains a given file or folder
It’s always been possible to check if a file exists using try?, but that
looks quite ugly, so let’s hide that ugliness behind a nice looking API :)
Support referencing a parent in a path using “../“
Files now correctly handles paths that contains parent references, by expanding
those references into absolute paths.
So ‘../file’ is expanded to ‘<currentFolderParent>/file’.
Enable using tilde in path when creating folder from FileSystem
You can now specify the user’s home directory using a tilde (~), when
creating a folder through `FileSystem.createFolder(at:)`.
Add Folder.subfolder(atPath:)
This enables easier access to a subfolder located deep within a folder’s
tree, instead of having to retrieve all the intermediate folders.