mirror of
https://github.com/github/codeql.git
synced 2026-02-27 20:33:42 +01:00
Add docstring for DeclaredRepository.getUrl
This commit is contained in:
@@ -376,6 +376,10 @@ class DeclaredRepository extends PomElement {
|
||||
this.getName() = ["repository", "snapshotRepository", "pluginRepository"]
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the url for this repository. If the `url` tag is present, this will
|
||||
* be the string contents of that tag.
|
||||
*/
|
||||
string getUrl() { result = getAChild("url").(PomElement).getValue() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user