handles method
Whether this backend owns locator's scheme.
Implementation
@override
bool handles(String locator) {
if (!TomGitLocator.matches(locator)) return false;
if (openLocal != null) return true;
try {
return !TomGitLocator.parse(locator).isLocal;
} on FormatException {
return true;
}
}