def get_member(self, name):
assert compat.is_native(name), "<STR_LIT>".format(name)<EOL>fp = os.path.join(self._file_path, compat.to_unicode(name))<EOL>path = util.join_uri(self.path, name)<EOL>if os.path.isdir(fp):<EOL><INDENT>res = FolderResource(path, self.environ, fp)<EOL><DEDENT>elif os.path.isfile(fp):<EOL><INDENT>res = FileResource(path, self.environ, fp)<EOL><DEDENT>else:<EOL><INDENT>_logger.debug("<STR_LIT>".format(path))<EOL>res = None<EOL><DEDENT>return res<EOL>
Return direct collection member (DAVResource or derived).

        See DAVCollection.get_member()