You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/11/05 02:59:41 UTC

[6/8] cordova-plugin-file git commit: add missing path and docs

add missing path and docs


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/60f5394c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/60f5394c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/60f5394c

Branch: refs/heads/master
Commit: 60f5394cd2589d2a73b1c2263ff0ddd397eb3022
Parents: 03d9d32
Author: ghenry22 <gh...@gmail.com>
Authored: Tue Nov 3 10:25:39 2015 +0800
Committer: ghenry22 <gh...@gmail.com>
Committed: Tue Nov 3 10:25:39 2015 +0800

----------------------------------------------------------------------
 README.md                | 6 +++---
 src/windows/FileProxy.js | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/60f5394c/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 714202d..69786c1 100644
--- a/README.md
+++ b/README.md
@@ -79,9 +79,9 @@ Each URL is in the form _file:///path/to/spot/_, and can be converted to a
   is installed. (_iOS_, _Android_, _BlackBerry 10_, _OSX_, _windows_)
 
 * `cordova.file.applicationStorageDirectory` - Root directory of the application's
-  sandbox; on iOS this location is read-only (but specific subdirectories [like
-  `/Documents`] are read-write). All data contained within is private to the app. (
-  _iOS_, _Android_, _BlackBerry 10_, _OSX_)
+  sandbox; on iOS & windows this location is read-only (but specific subdirectories [like
+  `/Documents` on iOS or `/localState` on windows] are read-write). All data contained within
+  is private to the app. (_iOS_, _Android_, _BlackBerry 10_, _OSX_)
 
 * `cordova.file.dataDirectory` - Persistent and private data storage within the
   application's sandbox using internal memory (on Android, if you need to use

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/60f5394c/src/windows/FileProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/FileProxy.js b/src/windows/FileProxy.js
index 973ffd1..1950b88 100644
--- a/src/windows/FileProxy.js
+++ b/src/windows/FileProxy.js
@@ -173,7 +173,8 @@ var windowsPaths = {
     cacheDirectory: "ms-appdata:///temp/",
     tempDirectory: "ms-appdata:///temp/",
     syncedDataDirectory: "ms-appdata:///roaming/",
-    applicationDirectory: "ms-appdata:///"
+    applicationDirectory: "ms-appdata:///",
+    applicationStorageDirectory: "ms-appdata:///"
 };
 
 var AllFileSystems; 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org