func (fs *NoDirFileSystem) Open(name string) (http.File, error) {
	f, err := fs.FileSystem.Open(name)
	if err != nil {
		return nil, err
	}
	stat, err := f.Stat()
	if err != nil {
		return nil, err
	}
	if stat.IsDir() {
		return nil, os.ErrNotExist
	}
	return f, nil
}
// Open implements FileSystem's Open
Open implements FileSystem's Open
// Open implements FileSystem ' s Open
func (fs *NoDirFileSystem) Open(name string) (http.File, error) {
	f, err := fs.FileSystem.Open(name)
	if err != nil {
		return nil, err
	}
	stat, err := f.Stat()
	if err != nil {
		return nil, err
	}
	if stat.IsDir() {
		return nil, os.ErrNotExist
	}
	return f, nil
}
func ( fs * NoDirFileSystem ) Open ( name string ) ( http . File , error ) { f , err := fs . FileSystem . Open ( name ) if err != nil { return nil , err } stat , err := f . Stat ( ) if err != nil { return nil , err } if stat . IsDir ( ) { return nil , os . ErrNotExist } return f , nil }
Open implements FileSystem's Open
Open implements FileSystem ' s Open