func DbMakePublic(cmd bytengine.Command, user *bytengine.User, eng *bytengine.Engine) (interface{}, error) {
	path := cmd.Args["path"].(string)
	db := cmd.Database
	if err := eng.FileSystem.FileAccess(path, db, false); err != nil {
		return false, err
	}
	return true, nil
}
handler for: database.makepublic
package base
import (
	"github.com/johnwilson/bytengine"
)
func DbNewDir(cmd bytengine.Command, user *bytengine.User, eng *bytengine.Engine) (interface{}, error) {
	path := cmd.Args["path"].(string)
	db := cmd.Database
	if err := eng.FileSystem.NewDir(path, db); err != nil {
		return false, err
	}
	return true, nil
}
func DbNewFile(cmd bytengine.Command, user *bytengine.User, eng *bytengine.Engine) (interface{}, error) {
	path := cmd.Args["path"].(string)
	data := cmd.Args["data"].(map[string]interface{})
	db := cmd.Database
	if err := eng.FileSystem.NewFile(path, db, data); err != nil {
		return false, err
	}
	return true, nil
}
func DbListDir(cmd bytengine.Command, user *bytengine.User, eng *bytengine.Engine) (interface{}, error) {
	path := cmd.Args["path"].(string)
	filter := "."
	val, ok := cmd.Options["regex"]
	if ok {
		filter = val.(string)
	}
	db := cmd.Database
	return eng.FileSystem.ListDir(path, filter, db)
}
func DbRename(cmd bytengine.Command, user *bytengine.User, eng *bytengine.Engine) (interface{}, error) {
	path := cmd.Args["path"].(string)
	name := cmd.Args["name"].(string)
	db := cmd.Database
	if err := eng.FileSystem.Rename(path, name, db); err != nil {
		return false, err
	}
	return true, nil
}
func DbMove(cmd bytengine.Command, user *bytengine.User, eng *bytengine.Engine) (interface{}, error) {
	path := cmd.Args["path"].(string)
	to := cmd.Args["to"].(string)
	db := cmd.Database
	if err := eng.FileSystem.Move(path, to, db); err != nil {
		return false, err
	}
	return true, nil
}
func DbCopy(cmd bytengine.Command, user *bytengine.User, eng *bytengine.Engine) (interface{}, error) {
	path := cmd.Args["path"].(string)
	to := cmd.Args["to"].(string)
	db := cmd.Database
	if err := eng.FileSystem.Copy(path, to, db); err != nil {
		return false, err
	}
	return true, nil
}
func DbDelete(cmd bytengine.Command, user *bytengine.User, eng *bytengine.Engine) (interface{}, error) {
	path := cmd.Args["path"].(string)
	db := cmd.Database
	if err := eng.FileSystem.Delete(path, db); err != nil {
		return false, err
	}
	return true, nil
}
func DbInfo(cmd bytengine.Command, user *bytengine.User, eng *bytengine.Engine) (interface{}, error) {
	path := cmd.Args["path"].(string)
	db := cmd.Database
	return eng.FileSystem.Info(path, db)
}