The code:lib_dir/2 function was introduced to support looking into archives. Both archives and the code:lib_dir/2 are marked as experimental.
In the upcoming Erlang/OTP 27 release, code:lib_dir/2 will be deprecated. In some future release, the archive functionality will be changed (escript:extract/2 will continue to work, reading archive members using erl_prim_loader will not).
The
code:lib_dir/2
function was introduced to support looking into archives. Both archives and thecode:lib_dir/2
are marked as experimental.In the upcoming Erlang/OTP 27 release,
code:lib_dir/2
will be deprecated. In some future release, the archive functionality will be changed (escript:extract/2
will continue to work, reading archive members usingerl_prim_loader
will not).