FileSystemFlags

package js.html

Available on js

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:

Fields

optionalexclusive:Null<Bool>

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.

optionalcreate:Null<Bool>

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.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/FileSystemFlags.html