public class Gitiles extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
Gitiles.ViewGitWebDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Method and Description |
|---|---|
URL |
getChangeSetLink(GitChangeSet changeSet) |
URL |
getDiffLink(GitChangeSet.Path path)
Determines the link to the diff between the version
in the specified revision of
GitChangeSet.Path to its previous version. |
URL |
getFileLink(GitChangeSet.Path path)
Determines the link to a single file under Git.
|
encodeURL, getIndexOfPath, getNormalizeUrl, getRepoUrl, getUrl, initialChecksAndReturnOk, validateUrlall, normalizeToEndWithSlash, trimHeadSlashgetDescriptor@DataBoundConstructor public Gitiles(String repoUrl)
public URL getDiffLink(GitChangeSet.Path path) throws IOException
GitRepositoryBrowserGitChangeSet.Path to its previous version.getDiffLink in class GitRepositoryBrowserpath - affected file pathIOException - on input or output errorpublic URL getFileLink(GitChangeSet.Path path) throws IOException
GitRepositoryBrowsergetFileLink in class GitRepositoryBrowserpath - affected file pathIOException - on input or output errorpublic URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class RepositoryBrowser<GitChangeSet>IOExceptionCopyright © 2007–2021. All rights reserved.