Replies: 1 comment
-
|
I would not assume that adding a directory to .graphifyignore automatically removes data that was already processed. Usually an ignore file affects what gets scanned/indexed on the next run, but it does not necessarily mean “delete everything from the graph that used to come from this path”. That deletion behavior would need to be implemented explicitly, otherwise old nodes/edges could remain in the graph even though the files are now ignored. So I think there are two different operations:
If graphify update does not currently prune ignored paths, then a useful command would be something like: graphify remove path/to/directoryor: graphify update --prune-ignoredUntil this is documented, I would be careful and verify by checking whether nodes from that directory still appear after running update. So my answer would be: .graphifyignore may stop future processing, but I would not rely on it to remove already processed content unless the docs explicitly say that --update prunes ignored/deleted paths. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I remove a processed directory in Graphify without re-running a full process?
If I add the directory to the .graphifyignore file, does it get removed when I run --update?
Beta Was this translation helpful? Give feedback.
All reactions