public class GogsGit extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
GogsGit.GogsGitDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Method and Description |
|---|---|
URL |
getChangeSetLink(GitChangeSet changeSet)
Creates a link to the change set
http://[GogsGit URL]/commit/[commit]
|
URL |
getDiffLink(GitChangeSet.Path path)
Creates a link to the file diff.
|
URL |
getFileLink(GitChangeSet.Path path)
Creates a link to the file.
|
encodeURL, getIndexOfPath, getNormalizeUrl, getRepoUrl, getUrl, initialChecksAndReturnOk, validateUrlall, normalizeToEndWithSlash, trimHeadSlashgetDescriptor@DataBoundConstructor public GogsGit(String repoUrl)
public URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class RepositoryBrowser<GitChangeSet>changeSet - commit hashIOException - on input or output errorpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
getDiffLink in class GitRepositoryBrowserpath - affected file pathIOException - on input or output errorpublic URL getFileLink(GitChangeSet.Path path) throws IOException
getFileLink in class GitRepositoryBrowserpath - affected file pathIOException - on input or output errorCopyright © 2007–2021. All rights reserved.