- Index
- »
- io
- »
- func:ioDir
def
func:ioDir
ioDir(handle)
Read a directory listing, return a grid with cols:
uri
: Uri for handle to read/write the filename
: filename stringmimeType
: file mime type or null if unknowndir
: marker if file is a sub-directory or nullsize
: size of file in bytes or nullmod
: 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