func (v VolumePathHandler) RemoveMapPath(mapPath string) error {
	if len(mapPath) == 0 {
		return fmt.Errorf("failed to remove map path. mapPath is empty")
	}
	klog.V(5).Infof("RemoveMapPath: mapPath %s", mapPath)
	err := os.RemoveAll(mapPath)
	if err != nil && !os.IsNotExist(err) {
		return fmt.Errorf("failed to remove directory %s: %v", mapPath, err)
	}
	return nil
}
// RemoveMapPath removes a file or directory on specified map path
RemoveMapPath removes a file or directory on specified map path
// RemoveMapPath removes a file or directory on specified map path
func (v VolumePathHandler) RemoveMapPath(mapPath string) error {
	if len(mapPath) == 0 {
		return fmt.Errorf("failed to remove map path. mapPath is empty")
	}
	klog.V(5).Infof("RemoveMapPath: mapPath %s", mapPath)
	err := os.RemoveAll(mapPath)
	if err != nil && !os.IsNotExist(err) {
		return fmt.Errorf("failed to remove directory %s: %v", mapPath, err)
	}
	return nil
}
func ( v VolumePathHandler ) RemoveMapPath ( mapPath string ) error { if len ( mapPath ) == 0 { return fmt . Errorf ( " " ) } klog . V ( 5 ) . Infof ( " " , mapPath ) err := os . RemoveAll ( mapPath ) if err != nil && ! os . IsNotExist ( err ) { return fmt . Errorf ( " " , mapPath , err ) } return nil }
RemoveMapPath removes a file or directory on specified map path
RemoveMapPath removes a file or directory on specified map path