# \#xref

**URL:** https://erlangforums.com/tag/xref/571.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [Feature: internal\_export](https://erlangforums.com/t/feature-internal-export/2697)

<div class="topic-metadata">

**Author:** [@mmin](https://erlangforums.com/u/mmin)\
**Replies:** 21\
**Last updated:** [February 2, 2024, 1:49pm UTC](https://erlangforums.com/t/feature-internal-export/2697 "2024-02-02T13:49:37Z")

</div>

I’ve just submitted a pull request about adding new type of function exports. This thread is where it all started, and this is just one of the use cases. TLDR: internal\_export is an attribute that gives you more contro…

---

## [Query Erlang code base for certain code patterns?](https://erlangforums.com/t/query-erlang-code-base-for-certain-code-patterns/2814)

<div class="topic-metadata">

**Author:** [@eproxus](https://erlangforums.com/u/eproxus)\
**Replies:** 6\
**Last updated:** [August 22, 2023, 3:12pm UTC](https://erlangforums.com/t/query-erlang-code-base-for-certain-code-patterns/2814 "2023-08-22T15:12:54Z")

</div>

Let’s say I wanted to query a code base for functions that only have one external call to another module but no other code. Is that possible? I.e. I want to detect intermediary functions like this: -module(foo). -export…

---

## [Ebin folder and .app file](https://erlangforums.com/t/ebin-folder-and-app-file/2503)

<div class="topic-metadata">

**Author:** [@mmin](https://erlangforums.com/u/mmin)\
**Replies:** 2\
**Last updated:** [March 30, 2023, 12:33pm UTC](https://erlangforums.com/t/ebin-folder-and-app-file/2503 "2023-03-30T12:33:32Z")

</div>

Hi, the question is the following: is ebin folder limited only to modules named in .app file, or user can (for whatever reason) manually add more .beam files to it (such that manually added files are not part of the app…

---

## [Wondering why we need the last expression in this code from xref\_reader.erl](https://erlangforums.com/t/wondering-why-we-need-the-last-expression-in-this-code-from-xref-reader-erl/2482)

<div class="topic-metadata">

**Author:** [@mmin](https://erlangforums.com/u/mmin)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 5:20pm UTC](https://erlangforums.com/t/wondering-why-we-need-the-last-expression-in-this-code-from-xref-reader-erl/2482 "2023-03-21T17:20:11Z")

</div>

Hello, I’m doing some stuff with xref and I stumbled upon this piece of code at xred\_reader.erl:71: #xrefr{module = M, def\_at = DefAt, l\_call\_at = LCallAt, x\_call\_at = XCallAt, el = LC, ex = XC, x = X, df =…

---

## [Importing Xref output into Neo4j?](https://erlangforums.com/t/importing-xref-output-into-neo4j/2271)

<div class="topic-metadata">

**Author:** [@Rich\_Morin](https://erlangforums.com/u/Rich_Morin)\
**Replies:** 1\
**Last updated:** [January 17, 2023, 4:17am UTC](https://erlangforums.com/t/importing-xref-output-into-neo4j/2271 "2023-01-17T04:17:51Z")

</div>

First, I’d like to thank the Erlang support folks for their work in developing and supporting Xref. I have only a limited understanding of the tool so far, but it’s clear that a great deal of thought and effort has gone…
