fish

0.1.2

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

What's New

🐟 v0.1.2

2024-03-17T19:37:46Z

What's Changed

Full Changelog: 0.1.1...0.1.2



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: Fri Oct 18 2024 22:31:10 GMT-0900 (Hawaii-Aleutian Daylight Time)