Esempio n. 1
0
void
LongType::readFromDb() throw (r_Error)
	{
	setName(LongType::Name);
	size = 4;
	myType = LONG;
	myOId = OId(LONG, OId::ATOMICTYPEOID);
	}
Esempio n. 2
0
OId Object::oid() const
{
    return OId(git_object_id(data()));
}
Esempio n. 3
0
OId Commit::oid() const
{
    return OId(git_commit_id(data()));
}
Esempio n. 4
0
OId Commit::parentId(unsigned n) const
{
    return OId(git_commit_parent_id(data(), n));
}
Esempio n. 5
0
OId IndexEntry::id() const
{
    return OId(&_entry->id);
}
Esempio n. 6
0
OId Index::writeTree()
{
    git_oid oid;
    Exception::git2_assert(git_index_write_tree(&oid, data()));
    return OId(&oid);
}
Esempio n. 7
0
OId Reference::target() const
{
    return OId(git_reference_target(d.data()));
}
Esempio n. 8
0
LongType::LongType()
	:	IntegralType(LongType::Name, 4)
	{
	myType = LONG;
	myOId = OId(LONG, OId::ATOMICTYPEOID);
	}