Is it possible to assign Labels to folders based upon the names of files/folders it contains? What I'd like to achieve is to change the folder icons for folders that are git repositories (that is, they contain a subfolder named .git).
I've tried using Subfolder but after reading the help I realized that's not exactly what I need here.
You might also want to add a clause before that which restricts the test to folders below a certain drive or path, if you know all your Git repo folders will be in one place (but also have other things there that aren't repos; else you could use a simple path wildcard). That way the script column will not be called on every folder everywhere, which would add some overhead after every folder change.