SnakeSVx/spacebuild — pull request #6 by awilliamson (2012-10-04 01:09:22+00:00)
Title: [EXPERIMENTAL] Hotfix for new Find function

See commit message. Essentially Garry again changed things related to finding files and directories. He merged them both into file.Find. It now requires multi-var assignment to work correctly, and even then occasionally spits out tables with 0 length. I implemented a "wrapper" table, part of the sb global, which we can add methods to which can fix things or make them more suitable to our needs. Such as the file.FindDir, i've implemented that by making sb.wrapper:Find accept a type as the first parameter.

I'm sick and tired of him changing things every 2 minutes, and then having to change the way the code works because he's completely changed a core function, this should avoid such dependencies, and as the code base grows it should speed up fixes due to these changes by making them appear only once.

If there is a better place to put these, please advise me, otherwise it stays like this until Garry sorts his #@!$ out.