mason/dhandler (.contact): Nudge index-scanning loop to focus on top level.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 15 Jun 2023 16:28:05 +0000 (17:28 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 15 Jun 2023 16:30:23 +0000 (17:30 +0100)
commitb0e94d8a6a8cfc0cb5f19f7bdfa110af15c8ca6e
tree9b3f2e85740d7d562f09f47fb07e11950a0a4156
parent2306963b392cb67d27e354af3327be8bc9111ff1
mason/dhandler (.contact): Nudge index-scanning loop to focus on top level.

If, say, we want to do something else with the direct contents of the
directory, then it would be nice if this were easy.  Pull the variable
declarations out, pull an initial priming call to `listdir' out, and
move the inner `listdir' to the end of the loop.
mason/dhandler