Required Instance Methodtuist.filesystem 0.7.9FileSystem

readFile(at:)

Reads the file at path and returns it as data.

FileSystem.swift:131
func readFile(at: AbsolutePath) async throws -> Data

Parameters

at

Path to the file to read.

Returns

The content of the file as data.