cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5403) Overhaul File API implementation
Date Mon, 16 Dec 2013 05:27:07 GMT

    [ https://issues.apache.org/jira/browse/CB-5403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848830#comment-13848830
] 

ASF subversion and git services commented on CB-5403:
-----------------------------------------------------

Commit eb28b7a29dff03b86802a9f2d4b5f8fd304977dc in branch refs/heads/dev from [~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file.git;h=eb28b7a ]

CB-5403: Backwards-compatibility with file:// urls where possible


> Overhaul File API implementation
> --------------------------------
>
>                 Key: CB-5403
>                 URL: https://issues.apache.org/jira/browse/CB-5403
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>            Reporter: Ian Clelland
>            Assignee: Ian Clelland
>
> This is the meta-issue for all of the File API-related changes.
> File is getting overhauled, to provide the following features:
> 1. Entry.toURL() should return a filesystem:// URL on platforms which support it. Platforms
which cannot support custom URL protocols are free to return URLs which *can* be used to access
the local file system.
> 2. These URLs will look like:
>   filesystem://localhost/persistent/path/to/file.ext
>   filesystem://localhost/temporary/path/to/file.ext
> Additional roots are possible for new file systems (assets, media, documents, etc)
> (The specific format used does not need to conform to any existing or proposed standard,
since these URLs should not be assumed valid across machines)
> 3. Entry.fullPath will be relative to the HTML file system root, and not a path from
the root of the actual device file system.
> 4. Only URLs will be passed over the exec bridge; we won't be passing raw file system
paths into and out of JS anymore. (This generally means filesystem:// URLs in the iOS/Android
case, but platforms are free to support other URLs as needed)
> 5. Tests need to be updated so that they still pass when these changes are made.
> 6. File plugin should be modular, so that additional filesystem types can be easily supported.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message