8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libvcs.parse.parse
parse.py:
parse.py
# can be string imports DEFAULTS_PARSERS = { "git": "libvcs.parse.git.GitURL" # ... } PARSERS = DEFAULT_PARSERS.copy() class Parser: def __init__(parser_overrides=None): self.parsers = PARSERS if isinstance(parser_overrides, dict): for k, v in parser_overrides.items(): if v is None and k in parsers: del self.parsers[k] if k is not None and v is not None: self.parsers[k] = v def register_parser(name: str, parser: Parser): PARSERS[name] = parser def unregister_parser(name): del PARSERS[name]
The text was updated successfully, but these errors were encountered:
b0ac185
No branches or pull requests
libvcs.parse.parse
parse.py
:The text was updated successfully, but these errors were encountered: