Required Instance Methodtuist.filesystem 0.7.9FileSystem

readPlistFile(at:decoder:)

Reads a property list file at a given path, and decodes it into the provided decodable type.

FileSystem.swift:176
func readPlistFile<T>(at: AbsolutePath, decoder: PropertyListDecoder) async throws -> T where T : Decodable

Parameters

at

The path to the property list file.

decoder

The property list decoder to use.

Returns

The decoded instance.