'Obtain the raw text for an object.
:param name: sha for the object.
:return: tuple with numeric type and object contents.'

def get_raw(self, name):

    obj = self[self._to_hexsha(name)]
    return (obj.type_num, obj.as_raw_string())
