iterative/dvc

View on GitHub
dvc/repo/imp.py

Summary

Maintainability
A
35 mins
Test Coverage
def imp(self, url, path, out=None, rev=None):
    erepo = {"url": url}
    if rev is not None:
        erepo["rev"] = rev

    return self.imp_url(path, out=out, erepo=erepo, locked=True)