git_oid_fromraw

Copy an already raw oid into a git_oid structure.

  1. int git_oid_fromraw(.git_oid* out_, const(ubyte)* raw, .git_oid_t type)
    version(GIT_EXPERIMENTAL_SHA256)
    extern (C) nothrow @nogc public
    int
    git_oid_fromraw
    (,
    const(ubyte)* raw
    ,)
  2. int git_oid_fromraw(.git_oid* out_, const(ubyte)* raw)

Parameters

out_ .git_oid*

oid structure the result is written into.

raw const(ubyte)*

the raw input bytes to be copied.

type .git_oid_t

?

Return Value

Type: int

0 on success or error code

Meta