graphify
graphify copied to clipboard
.graphifyignore does not support .gitignore syntax. ie: negation patterns (!) not supported
Graphify does not support negation patterns (!).
It would be great if we could just ignore everything except the one directory that we want to parse. This would future proof our workspace from contaminating our graph if we forget to keep the ignore file up to date.
Example .graphifyignore file:
# Ignore everything
*
# Allow the directory itself
!src/
# Allow everything inside that directory
!src/**
The above is not currently supported, even though it is correct .gitignore syntax.
Fixed: when negation patterns (!) exist in .graphifyignore, directory pruning is skipped so negated files inside ignored directories can still be reached. Pattern like * + !src/** now works correctly.
Amazing! Well done, @safishamsi !!