func Create(fsys embed.FS, outputPath string) error {
	err := Walk(fsys, ".", func(dirpath string, de fs.DirEntry) error {
		embedPath := filepath.Join(dirpath, de.Name())
		fullpath := filepath.Join(outputPath, embedPath)
		if de.IsDir() {
			return nil
		}
		_, err := os.Stat(fullpath)
		if os.IsNotExist(err) {
			return nil
		}
		if err != nil {
			return err
		}
		return ErrExist
	})
	if err != nil {
		return err
	}
	return Patch(fsys, outputPath)
}
Create attempts to recreate filesystem. It first checks that
there be no matching files present and returns an error
if there is an existing file conflict in outputPath.

Folders are not considered to conflict.
package rebed
import (
	"embed"
	"fmt"
	"io"
	"io/fs"
	"os"
	"path/filepath"
	"strings"
)
const folderPerm os.FileMode = 0755
var ErrExist error = os.ErrExist
func Tree(fsys embed.FS, outputPath string) error {
	return Walk(fsys, ".", func(dirpath string, de fs.DirEntry) error {
		fullpath := filepath.Join(outputPath, dirpath, de.Name())
		if de.IsDir() {
			return os.MkdirAll(fullpath, folderPerm)
		}
		return nil
	})
}
func Touch(fsys embed.FS, outputPath string) error {
	return Walk(fsys, ".", func(dirpath string, de fs.DirEntry) error {
		fullpath := filepath.Join(outputPath, dirpath, de.Name())
		if de.IsDir() {
			return os.MkdirAll(fullpath, folderPerm)
		}
		_, err := os.Stat(fullpath)
		if os.IsNotExist(err) {
			_, err = os.Create(fullpath)
		}
		return err
	})
}
func Write(fsys embed.FS, outputPath string) error {
	return Walk(fsys, ".", func(dirpath string, de fs.DirEntry) error {
		embedPath := sanitize(filepath.Join(dirpath, de.Name()))
		fullpath := filepath.Join(outputPath, embedPath)
		if de.IsDir() {
			return os.MkdirAll(fullpath, folderPerm)
		}
		return embedCopyToFile(fsys, embedPath, fullpath)
	})
}
func Patch(fsys embed.FS, outputPath string) error {
	return Walk(fsys, ".", func(dirpath string, de fs.DirEntry) error {
		embedPath := sanitize(filepath.Join(dirpath, de.Name()))
		fullpath := filepath.Join(outputPath, embedPath)
		if de.IsDir() {
			return os.MkdirAll(fullpath, folderPerm)
		}
		_, err := os.Stat(fullpath)
		if os.IsNotExist(err) {
			err = embedCopyToFile(fsys, embedPath, fullpath)
		}
		return err
	})
}