GitHub user martincgg opened a pull request:
https://github.com/apache/cordova-plugin-file/pull/74
[CB-7419][WP8] Added support to get metada from directory
The error CODE 1, in the callback it was about the failed attempt to get
the size of a directory using 'IsolatedStorageFileStream', throwing a
SystemException 'DirectoryNotFoundException'.
Instead 'IsolatedStorageFileStream' to get that information from a
directory, now uses Application.GetResourceStream, to get that information from
the provided path, only if directory. If other file it would use
'IsolatedStorageFileStream'.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/martincgg/cordova-plugin-file CB-7419
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file/pull/74.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #74
----
commit 1dd70b3fe92f2371dc2f8ab3666fc25c1ce488c8
Author: Martin Gonzalez <[email protected]>
Date: 2014-08-27T22:54:27Z
[CB-7419][WP8] Added support to get metada from dir
The error CODE 1, in the callback it was about the a failed attempt to
get the size of a directory using IsolatedStorageFileStream, get that
information, throwing a SystemException 'DirectoryNotFoundException'.
Instead IsolatedStorageFileStream to get that information from a
directory, now uses Application.GetResourceStream, to that information
from the provided path, only if directory. If other file it would use
'IsolatedStorageFileStream'
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---