Skip to content

Tags: Tonku/Files

Tags

1.9.0

Toggle 1.9.0's commit message
Merge pull request JohnSundell#16 from JohnSundell/item-modified-date

FileSystem.Item: Add modifiedDate property

1.8.0

Toggle 1.8.0's commit message
Merge pull request JohnSundell#11 from yageek/feature/currentFolder

Add syntactic sugar to reach the current folder.

1.7.0

Toggle 1.7.0's commit message
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 :)

1.6.2

Toggle 1.6.2's commit message
Merge pull request JohnSundell#8 from pixyzehn/fix-create-file-at-pat…

…h-method

Fix create file at path method

1.6.1

Toggle 1.6.1's commit message
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’.

1.6.0

Toggle 1.6.0's commit message
Replace custom `fileURL` property with `URL(fileURLWithPath:)`

1.5.5

Toggle 1.5.5's commit message
Add @discardableResult to …ifNeeded methods

1.5.4

Toggle 1.5.4's commit message
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:)`.

1.5.3

Toggle 1.5.3's commit message
Add Folder.createFileIfNeeded()

Just like `Folder.createSubfolderIfNeeded()`, this new API enables the user
to only create a file if one is missing.

1.5.2

Toggle 1.5.2's commit message
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.