Function File.open

Opens the file for writing or reading, depending on the flags.

godot.core.defs.GodotError open (
  const(String) path,
  const(long) flags
) nothrow @nogc;