(self, path)
return ""
Is path a host_path in the volumes list
Is path a host_path in the volumes list
Is path a host_path in the volumes list
def _is_volume(self, path):
        """Is path a host_path in the volumes list"""
        for vol in list(self.opt["vol"]):
            (host_path, cont_path) = Uvolume(vol).split()
            if host_path and host_path == Uvolume().cleanpath(path):
                return cont_path
        return ""
def _is_volume ( self , path ) : for vol in list ( self . opt [ "vol" ] ) : ( host_path , cont_path ) = Uvolume ( vol ) . split ( ) if host_path and host_path == Uvolume ( ) . cleanpath ( path ) : return cont_path return ""