new filePathService()
The filePathService provides an interface to find the paths of specific files on the computer. These files, so far, will survive through updates and re-installs.
The data path is determined through the node.js expression:
dataPath = process.env.APPDATA || (process.platform == 'darwin' ? process.env.HOME + '/Library/' : process.env.HOME);
- Source:
Methods
(static) getDataPath() → {String}
Get the data path where things can be stored through updates.
- Source:
Returns:
- Type:
-
String
Path to the data path on the computer.
(static) getJobHistory() → {String}
Get the job history path. The job history is a nedb database.
- Source:
Returns:
- Type:
-
String
Path to job history DB.
(static) getPreferences() → {String}
Get the preferences JSON filepath.
- Source:
Returns:
- Type:
-
String
Path to the preferences json file.
(static) getSubmittedJobs() → {String}
Get the submitted jobs DB. The submitted jobs is a nedb database.
- Source:
Returns:
- Type:
-
String
Path to the submitted jobs DB.