Class: RepoBrowseBuilder

bitbucket/util/navbuilder. RepoBrowseBuilder

new RepoBrowseBuilder()

bitbucket/util/navbuilder.Builder to select where to browse files.

NOTE: The constructor is not exposed. A new instance can be created through the Builder API.

Source:

Methods

at(refId) → {bitbucket/util/navbuilder.RevisionSpecifyingBuilder}

Set the "at" revision for browsing. This revision describes the branch head whose history is being viewed.
This is not the actual revision at which to view the file (but it is used as fallback for that purpose).
The main purpose of this parameter is to determine which branch to use as "current" in the page layout.

Parameters:
Name Type Description
refId string

The ID of a ref or commit in the SCM whose history to browse.

Source:
Returns:
Type
bitbucket/util/navbuilder.RevisionSpecifyingBuilder

path(components) → {bitbucket/util/navbuilder.RevisionSpecifyingBuilder}

Parameters:
Name Type Argument Description
components string <repeatable>

path components for the file/directory at which to browse.

Source:
Returns:
Type
bitbucket/util/navbuilder.RevisionSpecifyingBuilder