So I browse a couple of cool scenes and decide to check them out, downloading their dependencies (which can get very large with large textures in dependent looks and scenes), then decide the scenes aren't for me and delete them. The dependencies I just downloaded still remain, though, and after many such scenes downloaded and deleted I'm left with a var folder filled with unused dependencies that would be best deleted, but I don't remember which of them are old unused dependencies and which are current ones.
So my question: Is there a plugin/app/script that can identify no-longer-used dependency vars?
Surely there must be? I've tried searching high and low and found apps and scripts that delete old versions of dependent vars, duplicate vars, malformed vars, but nothing that touches vars that were previously dependencies but now they're stranded because their dependent is gone. It seems like a simple script: get a list of vars (let's call it TheList) from AddonPackages, get the dependencies from each var's meta.json, cross off all dependencies from TheList, then remove all the vars from TheList that you independently want to keep, and you end up with a list of vars that you can safely delete without affecting anything. If there's no such thing that can do that, I might take a stab at programming one myself. Of course, there are manual ways to do this, but that seems the work of minutes when a script could do it in seconds.
So my question: Is there a plugin/app/script that can identify no-longer-used dependency vars?
Surely there must be? I've tried searching high and low and found apps and scripts that delete old versions of dependent vars, duplicate vars, malformed vars, but nothing that touches vars that were previously dependencies but now they're stranded because their dependent is gone. It seems like a simple script: get a list of vars (let's call it TheList) from AddonPackages, get the dependencies from each var's meta.json, cross off all dependencies from TheList, then remove all the vars from TheList that you independently want to keep, and you end up with a list of vars that you can safely delete without affecting anything. If there's no such thing that can do that, I might take a stab at programming one myself. Of course, there are manual ways to do this, but that seems the work of minutes when a script could do it in seconds.