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

View Source

A step which calls File.write_stat/2

Arguments

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

  • :stat (struct of type File.Stat) - Required. The stat to write

Options

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

  • :time - What format to return the file times in. See File.stat/2 for more. Valid values are :universal, :local, :posix The default value is :posix.