Desktop.OS (Desktop v1.3.2) View Source
The OS module provides shortcuts and helper functions to access OS specific information.
Most significant one should use OS.type() to differentiate between the currently supported environments:
- Android
- IOS
- MacOS
- Windows
- Linux
Link to this section Summary
Functions
Returns the users home directory
This is a Path.expand variant that normalizes the drive letter on windows
Link to this section Functions
Specs
home() :: binary()
Returns the users home directory
Specs
This is a Path.expand variant that normalizes the drive letter on windows
Specs
type() :: Linux | MacOS | Windows | Android | IOS