Update README

This commit is contained in:
Carlos Martín Nieto
2013-05-10 12:14:58 +02:00
parent 1621871387
commit d84338742e

View File

@@ -17,17 +17,15 @@ First you need to install libgit2:
Now, if you have Erlang OTP_R13B04 installed, you can compile this NIF to run Now, if you have Erlang OTP_R13B04 installed, you can compile this NIF to run
in it. in it.
$ git clone git://github.com/schacon/geef.git $ git clone git://github.com/carlosmn/geef.git
$ cd geef $ cd geef
$ make $ make
The API looks basically like this: The API looks basically like this:
{ok, Repo} = geef_repo:open(<<".">>). {ok, Repo} = geef_repo:open(".").
Workdir = geef_repo:workdir(Repo). Workdir = geef_repo:workdir(Repo).
{ok, Odb} = geef_repo:odb(Repo). {ok, Blob} = geef_blob:lookup(Repo, geef_oid:parse("abcde...")).
Exists = Odb:exists(HexSha).
CONTRIBUTING CONTRIBUTING
============== ==============
@@ -40,10 +38,10 @@ AUTHORS
============== ==============
Scott Chacon <schacon@gmail.com> Scott Chacon <schacon@gmail.com>
Carlos Martín Nieto <cmn@dwim.me>
LICENSE LICENSE
============== ==============
MIT. MIT.