Skip to content

hideGlob

Hide matching references.

The OIDs pointed to by the references that match the given glob pattern and their ancestors will be hidden from the output on the revision walk.

Signature

ts
class Revwalk {
  hideGlob(glob: string): this;
}

Parameters

  • globrequired · string

    A leading 'refs/' is implied if not present as well as a trailing / \ * if the glob lacks '?', ' \ *' or '['. Any references matching this glob which do not point to a commitish will be ignored.

Released under the MIT License.