|
Download wp-calypso/desktop/app/lib/system/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 539 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/desktop/app/lib/system/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/desktop/app/lib/system/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/desktop/app/lib/system/README.md
539 Bytes
| # System | |
| Provides details of the host system. These details are then sent to Calypso so it has some knowledge of where it is running. | |
| ## General functions | |
| `getDetails()` - returns detail object | |
| Where: | |
| - `pinned` - true if app is pinned to the dock (OS X only, other platforms return false) | |
| - `installed` - true if app is installed, false otherwise (OS X only, other platforms return true) | |
| - `platform` - returns `windows`, `darwin`, or `linux` | |
| - `firstRun` - returns true if this is the first time the app has run, false otherwise | |