Not exactly. It is following the recent change to gitfs and hgfs. This is a pointless enumerate now but i put it in like this to make the common code more obvious, with the goal of consolidating this common code later.