Required Instance Methodtuist.filesystem 0.7.9FileSystem

writeAsPlist(_:at:)

Given an Encodable instance, it encodes it as a Plist, and writes it at the given path.

FileSystem.swift:182
func writeAsPlist<T>(_ item: T, at: AbsolutePath) async throws where T : Encodable

Parameters

item

Item to be encoded as Plist.

at

Path at which the Plist will be written.