Update docc.yml
Pelagornis File Management Library 📁
PLFile was deployed as Swift Package Manager. Package to install in a project. Add as a dependent item within the swift manifest.
let package = Package( ... dependencies: [ .package(url: "https://github.com/Pelagornis/PLFile.git", from: "1.0.1") ], ... )
Then import the PLFile from thr location you want to use.
import PLFile
The documentation for releases and main are available here:
main
Path Setting.
let path = Path("/Users/ji-hoonahn/Desktop/") // example
Easy access path.
Path.root Path.home Path.current Path.temporary
Create, Write file and Folder!
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)")
And you can delete files and folders if you want.
try! file.delete() try! folder.delete()
PLFile is under MIT license. See the LICENSE file for more info.
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
PLFile
Pelagornis File Management Library 📁
Installation
PLFile was deployed as Swift Package Manager. Package to install in a project. Add as a dependent item within the swift manifest.
Then import the PLFile from thr location you want to use.
Documentation
The documentation for releases and
main
are available here:main
Using
Path Setting.
Easy access path.
Create, Write file and Folder!
And you can delete files and folders if you want.
License
PLFile is under MIT license. See the LICENSE file for more info.