(ctx any, path string)
| 72 | } |
| 73 | |
| 74 | func (d Drive) List(ctx any, path string) []Entry { |
| 75 | vm := GetVM(ctx) |
| 76 | entries, e := d.d.List(GetContext(ctx), path) |
| 77 | if e != nil { |
| 78 | throwForVM(vm, e) |
| 79 | } |
| 80 | return utils.ArrayMap(entries, func(t *types.IEntry) Entry { return NewEntry(*t) }) |
| 81 | } |
| 82 | |
| 83 | func (d Drive) Delete(ctx any, path string) { |
| 84 | vm := GetVM(ctx) |
nothing calls this directly
no test coverage detected