This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
echo "No argument supplied" | |
exit 1 | |
fi | |
if [[ -r $1 ]]; then | |
echo "$1 exist" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |