def _to_url()

in rules_jvm_export/jvm_export/support/deploy.py [0:0]


def _to_url(publish_to):
    if (publish_to.startswith("https:") or
        publish_to.startswith("http:") or
        publish_to.startswith("file:")):
        return publish_to
    return "file:" + publish_to