Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
if [ -z "$1" ]
then
echo "No argument supplied"
exit 1
fi
if [[ -r $1 ]]; then
echo "$1 exist"
defmodule Import2Alias.CallerTracer do
def trace({:imported_function, meta, module, name, arity}, env) do
Import2Alias.Server.record(env.file, meta[:line], meta[:column], module, name, arity)
:ok
end
def trace(_event, _env) do
:ok
end
end