File.write_stat

You're seeing just the function write_stat, go back to File module for more information.
Link to this function

write_stat(path, stat, opts \\ [])

View Source

Specs

write_stat(Path.t(), File.Stat.t(), stat_options()) :: :ok | {:error, posix()}

Writes the given File.Stat back to the file system at the given path. Returns :ok or {:error, reason}.