W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

RE: Request for feedback: Filesystem API

From: Domenic Denicola <domenic@domenicdenicola.com>
Date: Sun, 11 Aug 2013 00:27:38 +0000
To: Brendan Eich <brendan@mozilla.org>
CC: Jonas Sicking <jonas@sicking.cc>, "public-script-coord@w3.org" <public-script-coord@w3.org>
Message-ID: <B4AE8F4E86E26C47AC407D49872F6F9F8D8AC802@BY2PRD0510MB354.namprd05.prod.outlook.com>
From: Brendan Eich [mailto:brendan@mozilla.org]


> > That leaves it for use in move and copy, both of which are derivative operations.
> 
> Not move: atomic rename(2) is a primitive.

You're clearly right about this. I was misled by the return type; AbortableProgressPromise had me thinking of a long-running cancelable operation, which move generally isn't (except perhaps between drives or similar). A Promise-returning move makes sense as atomic.
Received on Sunday, 11 August 2013 00:28:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC