mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-14 18:40:51 +02:00
[#6407] added os.Stat jsvm binding
This commit is contained in:
@@ -715,6 +715,7 @@ func osBinds(vm *goja.Runtime) {
|
||||
obj.Set("exit", os.Exit)
|
||||
obj.Set("getenv", os.Getenv)
|
||||
obj.Set("dirFS", os.DirFS)
|
||||
obj.Set("stat", os.Stat)
|
||||
obj.Set("readFile", os.ReadFile)
|
||||
obj.Set("writeFile", os.WriteFile)
|
||||
obj.Set("readDir", os.ReadDir)
|
||||
|
||||
Reference in New Issue
Block a user