Summary

Functions

Writes a file to the data/ folder.

Functions

file.Write(file_name, contents)

shared packages/flow/core/sh_core.lua:39

Writes a file to the data/ folder. This detour of the engine function also creates all of the folders leading to the file. The original function is kept as file.old_write.

Parameters

  • file_name String path of the file, relative to data/
  • contents String

Defined in