Returns dict with fullpath, to, from.

def _parseKeyName(self, name):
        """ Returns dict with fullpath, to, from. """
        if name.endswith(Store.theInfoExtension):
            return {'type': 'info'}

        match = self.keyPattern.match(name)
        if not match:
            return None

        match = match.groupdict()
        match.update(type='diff')

        return match