diff --git a/jaraco/develop/git.py b/jaraco/develop/git.py index ccc15e0..b008f1b 100644 --- a/jaraco/develop/git.py +++ b/jaraco/develop/git.py @@ -231,6 +231,11 @@ def projects(): def exists(project, target): + """ + >>> target = path.Path(getfixture('tmp_path')) + >>> exists('foo', target) + False + """ return target.joinpath(posixpath.basename(resolve(project))).is_dir()