1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-25 15:42:01 +02:00

[#6407] added os.Stat jsvm binding

This commit is contained in:
Gani Georgiev
2025-02-05 19:05:41 +02:00
parent 9856c59de0
commit 9da7a8f72b
5 changed files with 3437 additions and 3432 deletions

View File

@@ -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)