Commit Graph

126 Commits

Author SHA1 Message Date
Carlos Martín Nieto
ad567fbf41 erlang headers should be hrl 2013-01-29 01:46:11 +01:00
Carlos Martín Nieto
8a96f4732e Add the #oid{} record to differentiate from a formatted hash 2013-01-29 01:46:11 +01:00
Carlos Martín Nieto
5a58abc4a0 Let geef_ref:target/1 handle both oid and symrefs 2013-01-25 15:22:14 +01:00
Carlos Martín Nieto
78e0693b8a Add typespecs to the functions 2013-01-25 03:33:02 +01:00
Carlos Martín Nieto
3c6b1ddaf5 Use erlang:nif_error to make dialyzer happy
And mark some of the NIF functions
2013-01-25 03:06:29 +01:00
Carlos Martín Nieto
4658251ced Let rebar generate the app file 2013-01-25 00:12:26 +01:00
Carlos Martín Nieto
7d76f18a55 More complete ref bindings 2013-01-24 23:55:42 +01:00
Carlos Martín Nieto
468695adb5 reference_id -> reference_target 2013-01-24 23:36:17 +01:00
Carlos Martín Nieto
ba92ce777f Even more erlang namespacing 2013-01-23 17:07:22 +01:00
Carlos Martín Nieto
6dea8e6930 Make it more erlang-esque
pmods are going away, use prefixed namespaces.
2013-01-23 16:27:42 +01:00
Carlos Martín Nieto
7ac46fbf5e Add reference_type() 2013-01-23 06:16:49 +01:00
Carlos Martín Nieto
71eea735d2 Add oid_parse(Sha) 2013-01-22 15:49:12 +01:00
Carlos Martín Nieto
401573ea60 Add geef:oid_fmt(Oid) 2013-01-21 16:22:08 +01:00
Carlos Martín Nieto
880d7b76fb reference: add id() to get the sha 2013-01-21 15:28:43 +01:00
Carlos Martín Nieto
9e8052c6b0 repository: add reference_glob() 2013-01-21 13:14:13 +01:00
Carlos Martín Nieto
285368566f Variables start with uppercase in this language 2013-01-21 12:45:11 +01:00
Carlos Martín Nieto
345048301c Paremetrize reference 2013-01-21 12:22:41 +01:00
Carlos Martín Nieto
ff2b868526 Parametrize odb 2013-01-21 12:02:11 +01:00
Carlos Martín Nieto
1d2a016cd9 Add repository:bare() and :references() 2013-01-21 10:45:14 +01:00
Carlos Martín Nieto
2dcbb33b46 Update the bidindings
Make repository parametrized
2013-01-21 03:48:51 +01:00
Carlos Martín Nieto
69ddae5b54 Remove old object_exists 2012-08-14 11:43:40 +02:00
Carlos Martín Nieto
27e72e5173 Refactor the code into separate files
Separate repository/odb functions into their own file. Add odb_exists
to go through the repository's odb. Adjust the test script.
2012-08-14 02:39:41 +02:00
Carlos Martín Nieto
1bc316b6a5 Don't export the load function, it gets called automatically 2012-08-13 23:55:14 +02:00
Carlos Martín Nieto
9cbf4024a0 Add a few basic functions for the repository 2012-08-13 23:53:31 +02:00
Carlos Martín Nieto
23f6345043 Load the NIF automatically 2012-08-13 22:34:15 +02:00
Scott Chacon
c1ea72abae ported code to use rebar and R14B 2010-11-03 19:49:40 -07:00