diff options
author | Robert G. Jakabosky <bobby@sharedrealm.com> | 2011-01-07 14:06:46 -0800 |
---|---|---|
committer | Robert G. Jakabosky <bobby@sharedrealm.com> | 2011-01-07 14:06:46 -0800 |
commit | 588900de127f5b5024250d24e660dd5574870d50 (patch) | |
tree | 15d176c455054173df4b99cf619bf7154aa81279 /git2.nobj.lua | |
parent | 4c770c5b37de769fb50ccd81b11c51367f57d8ba (diff) | |
download | luagit2-588900de127f5b5024250d24e660dd5574870d50.tar.gz |
Added support for git_odb_backends. Improved RawObject code. Added Error codes for use by database backends.
Diffstat (limited to 'git2.nobj.lua')
-rw-r--r-- | git2.nobj.lua | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/git2.nobj.lua b/git2.nobj.lua index 643636d..47e703a 100644 --- a/git2.nobj.lua +++ b/git2.nobj.lua @@ -6,13 +6,33 @@ hide_meta_info = false, --true, include "git2.h", +package "GIT" { +const "SUCCESS" { 0 }, +const "ERROR" { -1 }, +const "ENOTOID" { -2 }, +const "ENOTFOUND" { -3 }, +const "ENOMEM" { -4 }, +const "EOSERR" { -5 }, +const "EOBJTYPE" { -6 }, +const "EOBJCORRUPTED" { -7 }, +const "ENOTAREPO" { -8 }, +const "EINVALIDTYPE" { -9 }, +const "EMISSINGOBJDATA"{ -10 }, +const "EPACKCORRUPTED" { -11 }, +const "EFLOCKFAIL" { -12 }, +const "EZLIB" { -13 }, +const "EBUSY" { -14 }, +const "EBAREINDEX" { -15 }, +}, + subfiles { "repository.nobj.lua", -"database.nobj.lua", "rawobject.nobj.lua", +"oid.nobj.lua", +"database.nobj.lua", +"database_backend.nobj.lua", "index.nobj.lua", "index_entry.nobj.lua", -"oid.nobj.lua", "error.nobj.lua", "object.nobj.lua", "blob.nobj.lua", |