OPTIONS

listFiles()

listFiles()

Returns an array, containing one document per object in the directory. This function operates in the context of the mongo process. The included fields are:

name

Returns a string which contains the name of the object.

isDirectory

Returns true or false if the object is a directory.

size

Returns the size of the object in bytes. This field is only present for files.

←   _isWindows() load()  →

Was this page helpful?

Yes No

Thank you for your feedback!

We're sorry! You can Report a Problem to help us improve this page.

ON THIS PAGE