Skip to content

Commit 097ece1

Browse files
committed
fix(windows): make file-system members wait for their WinRT operations
Delete, rename, folder listing, size, last-modified and the sync read/write members called .done() (not part of the projection) or invoked methods on the pending IAsyncOperation instead of its result. Sync members now block on the operation, async members chain it, and failures surface the operation's HRESULT through onError/rejection. Also: writes create the file, append no longer overwrites, the appendBuffer members exist, folders never report an extension, and getFileExtension is implemented. Refs #11613
1 parent 56d83bd commit 097ece1

1 file changed

Lines changed: 268 additions & 199 deletions

File tree

0 commit comments

Comments
 (0)