Method: Rugged::Object#read_raw

Defined in:
ext/rugged/rugged_object.c

#read_rawObject

Returns the git object as a Rugged::OdbObject instance.

[View source]

393
394
395
396
397
398
399
# File 'ext/rugged/rugged_object.c', line 393

static VALUE rb_git_object_read_raw(VALUE self)
{
	git_object *object;
	TypedData_Get_Struct(self, git_object, &rugged_object_type, object);

	return rugged_raw_read(git_object_owner(object), git_object_id(object));
}