]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: Remove `cache` and `userCache` dir
authorCheng Zhao <zcbenz@gmail.com>
Sun, 4 Oct 2015 13:19:44 +0000 (21:19 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 4 Oct 2015 13:20:05 +0000 (21:20 +0800)
Closes #1404.

docs/api/app.md

index e4a8d561e2f507202540ac63b933a8a2581435dc..0b5780aab7bff469916ec4a35277f11606d2cd79 100644 (file)
@@ -197,12 +197,6 @@ You can request the following paths by the name:
   * `~/Library/Application Support` on OS X
 * `userData` The directory for storing your app's configuration files, which by
   default it is the `appData` directory appended with your app's name.
-* `cache` Per-user application cache directory, which by default points to:
-  * `%APPDATA%` on Windows (which doesn't have a universal cache location)
-  * `$XDG_CACHE_HOME` or `~/.cache` on Linux
-  * `~/Library/Caches` on OS X
-* `userCache` The directory for placing your app's caches, by default it is the
- `cache` directory appended with your app's name.
 * `temp` Temporary directory.
 * `userDesktop` The current user's Desktop directory.
 * `exe` The current executable file.