summaryrefslogtreecommitdiff
path: root/morphlib/localrepocache.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/localrepocache.py')
-rw-r--r--morphlib/localrepocache.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/morphlib/localrepocache.py b/morphlib/localrepocache.py
index a3e28d57..a5487cd9 100644
--- a/morphlib/localrepocache.py
+++ b/morphlib/localrepocache.py
@@ -185,6 +185,12 @@ class LocalRepoCache(object):
path = self._cache_name(repourl)
yield repourl, path
+ def pull_url(self, reponame):
+ '''Expand a possibly shortened repo name to a pull url.'''
+
+ def push_url(self, reponame):
+ '''Expand a possibly shortened repo name to a push url.'''
+
def has_repo(self, reponame):
'''Have we already got a cache of a given repo?'''
for repourl, path in self._base_iterate(reponame):