anchor.diff:              ok
       end,
   
  +    %% Restore the original code path
  +    code:set_path(OrigPath),
  +
       ok.
   
   foobar() ->
  
positive.code:                             {verbose, rebar_config:is_verbose()}]),
      {ok, _} = xref:add_directory(xref, "ebin"),
  
      %% Get list of xref checks we want to run
      XrefChecks = rebar_config:get(Config, xref_checks, [exports_not_used,
                                                          undefined_function_calls]),
  
negative.code: 
  code_path() ->
      [P || P <- code:get_path(),
            filelib:is_dir(P)] ++ [filename:join(rebar_utils:get_cwd(), "ebin")].
  
  %%
  %% Ignore behaviour functions, and explicitly marked functions
  