server: implement missing DirIndex functions