get_file(Filename) -> {ok, Bin, FullName} | error
Types
Fetches a file using the low-level loader. Filename
is either an absolute filename or only the name of the file, for example, "lists.beam"
. If an internal path is set to the loader, this path is used to find the file. FullName
is the complete name of the fetched file. Bin
is the contents of the file as a binary.
Filename
can also be a file in an archive, for example, $OTPROOT/lib/
mnesia-4.4.7.ez/mnesia-4.4.7/ebin/
mnesia.beam
. For information about archive files, see code(3)
.