Make it more erlang-esque

pmods are going away, use prefixed namespaces.
This commit is contained in:
Carlos Martín Nieto
2013-01-23 16:12:48 +01:00
parent 7ac46fbf5e
commit 6dea8e6930
6 changed files with 57 additions and 52 deletions

12
src/geef_oid.erl Normal file
View File

@@ -0,0 +1,12 @@
-module(geef_oid).
-export([parse/1, fmt/1]).
-spec fmt(binary()) -> binary().
fmt(Oid) ->
geef:oid_fmt(Oid).
-spec parse(binary()) -> binary().
parse(Sha) ->
geef:oid_parse(Sha).