fish

0.1.0

🐟 Fish is a small library that providing convenient wrappers for interacting with the file system.
swiftyfinch/Fish

What's New

🐟 Fish 0.1.0

2023-08-14T15:44:14Z

🚀 Initial release.



Fish

Motivation

I used the Files in the first Rugby version. But this library has some drawbacks:
- There are some issues with files enumeration;
- It has limited testability;
- Now it looks like a public archive. The last request was merged in 2022.

Description

Fish is a small library that was developed to solve the above problems.
It providing convenient wrappers for interacting with the file system.
Under the hood it uses FileManager and other parts of Foundation.

This library was a part of 🏈 Rugby 2.x.


How to install 📦

Add it to the dependencies for your package. More info here.

.package(url: "https://github.com/swiftyfinch/Fish", from: "0.1.0")

How to use 🚀

let file = try Folder.current.createFile(
    named: "example.txt",
    contents: "Hello world!"
)
try file.append("You can find more info in docs.")
try file.delete()

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Sep 23 2023 07:16:13 GMT-0900 (Hawaii-Aleutian Daylight Time)