[erlang-questions] file:open(File, [ram])

JD Bothma jbothma@REDACTED
Tue Nov 13 17:21:19 CET 2012


The 'ram' option to file:open/2 seems to implement some functionality I
want: to treat a file in memory as if it's a file on disk to let a library
support both disk and in-memory data concisely.

It doesn't look like this option is documented, but it's probably useful to
many. It looks like it's used by at least erl_tar.

Can this become part of the documented API of the file module?

JD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121113/7002c9af/attachment.htm>


More information about the erlang-questions mailing list