def

func:ioDir

ioDir(handle)

Read a directory listing, return a grid with cols:

  • uri: Uri for handle to read/write the file
  • name: filename string
  • mimeType: file mime type or null if unknown
  • dir: marker if file is a sub-directory or null
  • size: size of file in bytes or null
  • mod: modified timestamp or null if unknown

If the I/O handle does not map to a file in the virtual file system then throw an exception.

ioDir(`io/`)             // read files in project's io/ directory
ioDir(`fan://haystack`)  // read files in pod

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function