func (imd *Directory) Remove(name string) {
	newChildren := imd.children[:0]

	for _, e := range imd.children {
		if e.Name() != name {
			newChildren = append(newChildren, e)
		}
	}

	imd.children = newChildren
}
// Remove removes directory entry with a given name.
Remove removes directory entry with a given name.
// Remove removes directory entry with a given name .
func (imd *Directory) Remove(name string) {
	newChildren := imd.children[:0]
	for _, e := range imd.children {
		if e.Name() != name {
			newChildren = append(newChildren, e)
		}
	}
	imd.children = newChildren
}
func ( imd * Directory ) Remove ( name string ) { newChildren := imd . children [ : 0 ] for _ , e := range imd . children { if e . Name ( ) != name { newChildren = append ( newChildren , e ) } } imd . children = newChildren }
Remove removes directory entry with a given name.
Remove removes directory entry with a given name .