func (imd *Directory) AddErrorEntry(name string, permissions os.FileMode, err error) *ErrorEntry {
	imd, name = imd.resolveSubdir(name)

	ee := &ErrorEntry{
		entry: entry{
			name:    name,
			mode:    permissions | os.ModeDir,
			modTime: DefaultModTime,
		},
		err: err,
	}

	imd.addChild(ee)

	return ee
}
// AddErrorEntry adds a fake directory with a given name and permissions.
AddErrorEntry adds a fake directory with a given name and permissions.
// AddErrorEntry adds a fake directory with a given name and permissions .
func (imd *Directory) AddErrorEntry(name string, permissions os.FileMode, err error) *ErrorEntry {
	imd, name = imd.resolveSubdir(name)
	ee := &ErrorEntry{
		entry: entry{
			name:    name,
			mode:    permissions | os.ModeDir,
			modTime: DefaultModTime,
		},
		err: err,
	}
	imd.addChild(ee)
	return ee
}
func ( imd * Directory ) AddErrorEntry ( name string , permissions os . FileMode , err error ) * ErrorEntry { imd , name = imd . resolveSubdir ( name ) ee := & ErrorEntry { entry : entry { name : name , mode : permissions | os . ModeDir , modTime : DefaultModTime , } , err : err , } imd . addChild ( ee ) return ee }
AddErrorEntry adds a fake directory with a given name and permissions.
AddErrorEntry adds a fake directory with a given name and permissions .