Skip to content

Releases: pelagornis/plfile

PLFile v1.0.8

26 Jan 09:38
Compare
Choose a tag to compare

What's Changed

  • PLFile additional support for iOS and tvOS, watchOS

PLFile v1.0.7

25 Jan 18:06
Compare
Choose a tag to compare
  • no changes

PLFile v1.0.6

07 Dec 01:27
70c83ad
Compare
Choose a tag to compare
  • no changes

PLFile v1.0.5

15 Sep 23:18
Compare
Choose a tag to compare

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

31 Aug 20:13
7f5f594
Compare
Choose a tag to compare

What's Changed

  • package name: PLFile -> plfile
  • Docc Content

PLFile v1.0.3

25 Jun 03:50
Compare
Choose a tag to compare

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

17 May 13:37
98cc4ed
Compare
Choose a tag to compare

What's Changed

  • Changed: Swift 5.8 -> 5.7
  • Support: Docc

PLFile v1.0.1

31 Mar 17:56
Compare
Choose a tag to compare

Swift tool version Change (5.7 -> 5.8)

// swift-tools-version: 5.8

And

Documenting source code

PLFile v1.0.0

09 Mar 17:13
Compare
Choose a tag to compare

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)")