vm_buildEntriesTree: (ctx TaskCtx, entry Entry, byteProgress bool) entryTreeNode
(vm *VM, args Values)
| 38 | |
| 39 | // vm_buildEntriesTree: (ctx TaskCtx, entry Entry, byteProgress bool) entryTreeNode |
| 40 | func vm_buildEntriesTree(vm *VM, args Values) any { |
| 41 | ctx := GetTaskCtx(args.Get(0).Raw()) |
| 42 | entry := GetEntry(args.Get(1).Raw()) |
| 43 | byteProgress := args.Get(2).Bool() |
| 44 | r, e := drive_util.BuildEntriesTree(ctx, entry, byteProgress) |
| 45 | if e != nil { |
| 46 | vm.ThrowError(e) |
| 47 | } |
| 48 | return convertEntryTreeNode(r) |
| 49 | } |
| 50 | |
| 51 | // vm_buildEntriesTreeWithPattern: (ctx TaskCtx, root Drive, pattern string, bytesProgress bool) []Entry |
| 52 | func vm_findEntries(vm *VM, args Values) any { |
nothing calls this directly
no test coverage detected