Add docstring for DeclaredRepository.getUrl

This commit is contained in:
Jonathan Leitschuh
2021-02-16 11:21:19 -05:00
parent d82e8216ed
commit a8167c6c9c

View File

@@ -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() }
}