OptionalappendDefaults to false. If set to true, will append to a file instead of overwriting previous contents.
OptionalcreateSets the option to allow creating a new file, if one doesn't already exist at the specified path (defaults to true).
OptionalcreateSets the option to create a new file, failing if it already exists.
OptionalmodeFile permissions. Ignored on Windows.
OptionalbaseBase directory for path
Since
2.0.0