Differences between readdir and getdents is minimal at best. Leaving code for now to allow for possible expansion later.
This allows users to tag a branch as readonly or not for writing regardless of how the filesystem is mounted. Should simplify deployments and offer more flexibility.