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.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
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
mainare available here:mainUsing
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.