raw option is missing for file:rename()

Mikael Pettersson mikpelinux@REDACTED
Sat Nov 27 18:55:38 CET 2021

On Fri, Nov 26, 2021 at 7:17 AM Shunichi Shinohara <shino.shun@REDACTED> wrote:
> Hi List,
> Currently, file:rename() function does not have a variant with options, then
> raw option can not be specified.
> cf. https://www.erlang.org/doc/man/file.html#rename-2
> Is it reasonable to add file:rename/3 with options in the third argument
> and make it accept option raw?
> # Similar thing happened for file:delete at OTP 24:
> # https://github.com/erlang/otp/pull/2634

A file:rename/3 that accepts a raw option makes perfect sense. We use
prim_file quite a bit, and this would help us stay on official APIs.


More information about the erlang-questions mailing list