chickadee » git » odb-hash

odb-hash odb data #!optional typeprocedure

Returns an oid reference for the given data blob as though it had been stored to the given odb but without writing it to disk. The type of the hashed data can be specified by an optional type symbol, which defaults to blob.