adobe/brackets — pull request #2158 by jbalsas (2012-11-19 23:31:33+00:00)
Title: FileSystem Implementation (#247)

This pull request implements the `FileSystem` interface described in http://www.w3.org/TR/file-system-api/#the-filesystem-interface and modifies `NativeFileSystem.requestNativeFileSystem` to return a `FileSystem` object with a root `DirectoryEntry` following the [specs](http://www.w3.org/TR/file-system-api/#widl-LocalFileSystem-requestFileSystem-void-unsigned-short-type-unsigned-long-long-size-FileSystemCallback-successCallback-ErrorCallback-errorCallback).

As indicated in #247, it also updates all existing calls to `requestNativeFileSystem` (tests included) to get the root DirectoryEntry.

This is a dangerous change that could potentially break several extensions so we may want to implement this in a more backward compatible manner. However, I've done a global find in all the extensions listed in the wiki and only [brackets-snippets](https://github.com/jrowny/brackets-snippets) seems to be calling `requestNativeFileSystem` directly, so it looks less disruptive than I originally thought...