triviality: couldn't this just be `entry.name[0] !== "."`?