Issue by jbalsas
Monday Nov 19, 2012 at 23:31 GMT
Originally opened as adobe/brackets#2158
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.
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 seems to be calling requestNativeFileSystem directly, so it looks less disruptive than I originally thought...
jbalsas included the following code: https://github.com/adobe/brackets/pull/2158/commits
Monday Nov 19, 2012 at 23:31 GMT
Originally opened as adobe/brackets#2158
This pull request implements the
FileSysteminterface described in http://www.w3.org/TR/file-system-api/#the-filesystem-interface and modifiesNativeFileSystem.requestNativeFileSystemto return aFileSystemobject with a rootDirectoryEntryfollowing the specs.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 seems to be calling
requestNativeFileSystemdirectly, so it looks less disruptive than I originally thought...jbalsas included the following code: https://github.com/adobe/brackets/pull/2158/commits