new Registry(system, config)
Set up the registry
Parameters:
Name | Type | Description |
---|---|---|
system |
EventEmitter | |
config |
Config |
- Since:
- 2.2.0
Members
-
FileVersion :number
-
The curent file/db verison number
Methods
-
getAppRoot() → {string}
-
Returns:
string - the application's root file path -
getCfgDir() → {string}
-
Returns:
string - the folder path to the config/db -
getFileVersion() → {number}
-
Returns:
number - the current version number for the db and file import/export