Results 21 - 34 of 34

FileSystemFileEntry

The FileSystemFileEntry interface of the File System API represents a file in a file system. It offers properties describing the file's attributes, as well as methods for creating a FileWriter object to write to the file or a File object to read the file.
API File and Directory Entries API File API File System API FileEntry Files Interface Offline offline Reference

FileSystemFlags.exclusive

The exclusive property on the FileSystemFlags dictionary is used in tandem with the create property to determine whether or not it's acceptable to require that the file not already exist when the reference to it is created by calling FileSystemDirectoryEntry.getFile() or FileSystemDirectoryEntry.getDirectory().
API exclusive File and Directory Entries API File System API Files FileSystemFlags Non-standard Non-Standard Offline offline Property Reference

File and Directory Entries API support in Firefox

The original File System API was created to let browsers implement support for accessing a sandboxed virtual file system on the user's storage device. Work to standardize the specification was abandoned back in 2012, but by that point, Google Chrome included its own implementation of the API. Over time, a number of popular sites and Web applications came to use it, often without providing any means of falling back to standard APIs or even checking to be sure the API is available before using it. Mozilla instead opted to implement other APIs which can be used to solve many of the same problems, such as IndexedDB; see the blog post Why no FileSystem API in Firefox? for more insights.
API Chrome Compatibility File and Directory Entries API File System API Files Firefox google google chrome Guide Offline offline Web Compatibility

FileSystemFlags.create

The create property on the FileSystemFlags dictionary is used to indicate whether or not the file should be created if it's missing. FileSystemFlags is only used when calling FileSystemDirectoryEntry.getFile() or FileSystemDirectoryEntry.getDirectory().
API Create create File and Directory Entries API File System API Files FileSystemFlags Flile System API Non-Standard Non-standard offline Offline Property Reference