[erlang-patches] add code:get_mode/0
Wed Oct 3 15:53:08 CEST 2012
We would like this patch provided that you add Tests and Documentation
Thank you for your contribution!
On 09/19/2012 10:05 AM, Vlad Dumitrescu wrote:
> I have a small feature to suggest: add code:get_mode() to detect how
> the code servers behaves, returning embedded, interactive or minimal.
> Some applications (like erlide) have code to be loaded dynamically on a
> node. It may be slow to load everything upfront every time, so if the
> node is in interactive mode, we would like to just append to the load
> path. Currently, there is no direct way to detect if the node is running
> in embedded mode or not.
> git fetch git://github.com/vladdu/otp.git code_get_mode
> Since it is a very small, trivial addition, no tests are provided, but
> I can do it on request.
> best regards,
> erlang-patches mailing list
/Henrik Nord Erlang/OTP
More information about the erlang-patches