Files
geef/lib/geef/oid.ex
Carlos Martín Nieto 0d24afb089 Get rid of the tagged OID
This means we no longer accept any iolist in some of the functions,
but we might bring it back later.

There is also a new function, geef_ref:create_symbolic() to create
symbolic references, since we can no longer differentiate between a
name and an OID.
2013-09-03 20:37:00 +02:00

16 lines
208 B
Elixir

defmodule Geef.Oid do
@type t :: <<_ :: 160>>
@spec parse(iolist) :: t
def parse(str) do
:geef_oid.parse(str)
end
@spec hex(t) :: String.t
def hex(oid) do
:geef_oid.hex(oid)
end
end