(self, imagerepo, tag)
return ""
Select an image TAG for further operations
Select an image TAG for further operations
Select an image TAG for further operations
def cd_imagerepo(self, imagerepo, tag):
        """Select an image TAG for further operations"""
        if imagerepo and tag:
            tag_dir = self.reposdir + "/" + imagerepo + "/" + tag
            if os.path.exists(tag_dir):
                if self._is_tag(tag_dir):
                    self.cur_repodir = self.reposdir + "/" + imagerepo
                    self.cur_tagdir = self.cur_repodir + "/" + tag
                    return self.cur_tagdir
        return ""
def cd_imagerepo ( self , imagerepo , tag ) : if imagerepo and tag : tag_dir = self . reposdir + "/" + imagerepo + "/" + tag if os . path . exists ( tag_dir ) : if self . _is_tag ( tag_dir ) : self . cur_repodir = self . reposdir + "/" + imagerepo self . cur_tagdir = self . cur_repodir + "/" + tag return self . cur_tagdir return ""