Releases: pelagornis/plfile
Releases · pelagornis/plfile
PLFile v1.0.8
PLFile v1.0.7
- no changes
PLFile v1.0.6
- no changes
PLFile v1.0.5
What's Changed
The plfile usage has been changed.
import File
Usage
let path = Path.home
let folder = try! Folder(path: path)
let file = try! folder.createFile(at: "test.swift")
try! file.write("print(1)")
Path Support
Easy access with Path
Path.current
Path.root
Path.library
Path.temporary
Path.home
Path.documents
Library Path and Documents Path Support
PLFile 1.0.4
What's Changed
- package name:
PLFile
->plfile
- Docc Content
PLFile v1.0.3
What's Changed
PLFile Path Can be expressed in text literal.
let file = try! folder.createFile(at: "test.swift")
Same as the code below
let path = Path("test.swift")
let file = try! folder.createFile(at: path)
PLFile v1.0.2
What's Changed
- Changed: Swift 5.8 -> 5.7
- Support: Docc
PLFile v1.0.1
Swift tool version Change (5.7 -> 5.8)
// swift-tools-version: 5.8
And
Documenting source code
PLFile v1.0.0
PLFile Release! 🚀
Pelagornis File Management Library with Swift
You can do..
- folders, files creating, writing and deleting.
- folder moving
- Easily access parent path
- and etc..
let path = Path.home
let folder = try! PLFile.Folder(path: path)
let file = try! folder.createFile(at: Path("test.swift"))
try! file.write("print(1)")