コード例 #1
0
ファイル: notmuch.go プロジェクト: vlmarek/notmuch-solaris
/* Return the database format version of the given database. */
func (self *Database) GetVersion() uint {
	return uint(C.notmuch_database_get_version(self.db))
}
コード例 #2
0
ファイル: db.go プロジェクト: gmuch/gmuch
// Version returns the database version.
func (db *DB) Version() int {
	return int(C.notmuch_database_get_version(db.toC()))
}