181
187
    cdef _kind_from_mode(self, int mode):
 
182
188
        # Files and directories are the most common - check them first.
 
199
205
    def top_prefix_to_starting_dir(self, top, prefix=""):
 
200
206
        """See DirReader.top_prefix_to_starting_dir."""
 
201
 
        return (_safe_utf8(prefix), None, None, None, _safe_utf8(top))
 
 
207
        return (self._safe_utf8(prefix), None, None, None,
 
203
210
    def read_dir(self, prefix, top):
 
204
211
        """Read a single directory from a utf8 file system.