Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lmc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
IGNORE_DIRS = {
".git", "node_modules", "vendor", ".venv", "venv", "dist", "build",
"__pycache__", ".idea", ".vscode", "target", "bower_components",
"storage", "var", "cache",
"storage", "var", "cache", ".worktrees", ".phpstan",
}

CONFIG_NAME = "lumos.yml"
Expand Down
2 changes: 2 additions & 0 deletions lmc/joern.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
DEFAULT_EXCLUDES = (
"vendor", "node_modules", ".venv", "venv", "__pycache__",
"storage", "public", "dist", "build", "target", ".git",
".worktrees", # git worktrees: ganze Zweit-Checkouts, sonst kommt jeder Treffer n-fach
".phpstan", # PHPStan-Cache: resultCache.php wird zweistellig MB gross -> OOM beim Einlesen
)

# ponytail: joern-parse kennt kein --exclude, und was nach --frontend-args kommt,
Expand Down
2 changes: 1 addition & 1 deletion lmc/server/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def _walk(node, src, file, idx, def_stack):
_IGNORE = {
".git", "node_modules", "vendor", ".venv", "venv", "dist", "build",
"__pycache__", ".idea", ".vscode", "target", "bower_components",
"storage", "var", "cache", "__pycache__",
"storage", "var", "cache", "__pycache__", ".worktrees", ".phpstan",
}

_LANG_EXTS = {
Expand Down