GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for FileSystemSyncAccessHandle.

Developer library 6

FileSystemSyncAccessHandle

File System APIdedicated The **`FileSystemSyncAccessHandle`** interface of the File System API represents a synchronous handle to a file system entry. This class is only accessible inside dedicated [Web Workers](/docs/Web/API/Web_Workers_API) (so that its methods do not block execution on the main thread) for files within the [origin private file system](/docs/Web/API/File_System_API/Origin_private_file_system), wh

FileSystemSyncAccessHandle: getSize() method

File System APIdedicated The **`getSize()`** method of the FileSystemSyncAccessHandle interface returns the size of the file associated with the handle in bytes. > [!NOTE] > In earlier versions of the spec, close(), flush(), `getSize()`, and truncate() were wrongly specified as asynchronous methods, and older versions of some browsers implement them in this way. However, all current browsers that support these meth

FileSystemSyncAccessHandle: flush() method

File System APIdedicated The **`flush()`** method of the FileSystemSyncAccessHandle interface persists any changes made to the file associated with the handle via the write() method to disk. Bear in mind that you only need to call this method if you need the changes committed to disk at a specific time, otherwise you can leave the underlying operating system to handle this when it sees fit, which should be OK in mo

FileSystemSyncAccessHandle: write() method

File System APIdedicated The **`write()`** method of the FileSystemSyncAccessHandle interface writes the content of a specified buffer to the file associated with the handle, optionally at a given offset. Files within the [origin private file system](/docs/Web/API/File_System_API/Origin_private_file_system) are not visible to end-users, therefore are not subject to the same security checks as methods running on fil

FileSystemSyncAccessHandle: truncate() method

File System APIdedicated The **`truncate()`** method of the FileSystemSyncAccessHandle interface resizes the file associated with the handle to a specified number of bytes. > [!NOTE] > In earlier versions of the spec, close(), flush(), getSize(), and `truncate()` were wrongly specified as asynchronous methods, and older versions of some browsers implement them in this way. However, all current browsers that support

FileSystemSyncAccessHandle: close() method

File System APIdedicated The **`close()`** method of the FileSystemSyncAccessHandle interface closes an open synchronous file handle, disabling any further operations on it and releasing the exclusive lock previously put on the file associated with the file handle. > [!NOTE] > In earlier versions of the spec, `close()`, flush(), getSize(), and truncate() were wrongly specified as asynchronous methods, and older ver

JSON results · Services directory