Reactor.File.Step.WriteFile (reactor_file v0.18.3)

View Source

A step which calls File.write/2

Arguments

  • :path (String.t/0) - Required. The path to modify

  • :content (String.t/0) - Required. The stat to write

Options

  • :modes - See File.mode/0. The default value is [].

  • :revert_on_undo? (boolean/0) - Revert to the original state if the Reactor is undoing changes The default value is false.