Skip to content

io.readfile

starkos edited this page Apr 10, 2021 · 5 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


read a file's contents as a string.

io.readfile(filename)

get the individual file lines using string.explode.

Parameters

  • filename - a path to a filename.

Availability

Premake 5.0.0 alpha 12 or later.

Clone this wiki locally