io.readfile.md 257 B

read a file's contents as a string.

io.readfile(filename)

get the individual file lines using [[string.explode|string.explode]].

Parameters

  • filename - a path to a filename.

Availability

Premake 5.0.0 alpha 12 or later.