(self, cont_path)
Add a container relative pathname as destination mountpoint
Add a container relative pathname as destination mountpoint
Add a container relative pathname as destination mountpoint
def add(self, cont_path):
        """Add a container relative pathname as destination mountpoint"""
        mountpoint = self.container_root + '/' + cont_path
        orig_mpath = FileUtil(mountpoint).getvalid_path()
        if orig_mpath:
            self.mountpoints[cont_path] = \
                orig_mpath.replace(self.container_root, "", 1)
        if not self.mountpoints[cont_path]:
            self.mountpoints[cont_path] = "/"
def add ( self , cont_path ) : mountpoint = self . container_root + '/' + cont_path orig_mpath = FileUtil ( mountpoint ) . getvalid_path ( ) if orig_mpath : self . mountpoints [ cont_path ] = orig_mpath . replace ( self . container_root , "" , 1 ) if not self . mountpoints [ cont_path ] : self . mountpoints [ cont_path ] = "/"