ExAthena.Tools.Write (ExAthena v0.4.7)

Copy Markdown View Source

Creates or overwrites a file with the given content.

Arguments:

  • path (required) — absolute or cwd-relative path.
  • content (required) — file body, UTF-8 string.

Parent directories are created automatically. If the file already exists it is overwritten — that matches File.write!/2 semantics. Use Edit when you want to mutate a subset of the file.