The FileSystemFlags dictionary defines a set of values which are used when specifying option flags when calling certain methods in the File and Directory Entries API. Methods which accept an options parameter of this type may specify zero or more of these flags as fields in an object, like this:

Documentation FileSystemFlags by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:



If true, and the create option is also true, the file must not exist prior to issuing the call. Instead, it must be possible for it to be created newly at call time. The default is false.


If this property is true, and the requested file or directory doesn't exist, the user agent should create it. The default is false. The parent directory must already exist.