revparse


Description:

public Object? revparse (string spec) throws Error

Find an object, as specified by a revision string.

See `man gitrevisions`, or the documentation for `git rev-parse` for information on the syntax accepted.

Parameters:

this

a Repository.

spec

the revision specification.

Returns:

a Object or null if the revision could not be found.