Properties:
| Name | Type | Description |
|---|---|---|
filesystem |
core.Filesystem | (default: |
modified |
bool | [readonly] |
path |
string | (default: |
ready |
bool | [readonly] |
Extends
Methods
-
Returns information about the given key, or
nullif the key does not exist.Name Type Description keystring The key to retrieve the information from.
Returns:
Type Description object The information object { type, description }. -
Lists the contents of the given folder key.
Name Type Description folderKeystring The key to list the contents of.
Returns:
Type Description Array.<string> The names of the content items. -
Reads the given key. Returns the
defaultValueif the key was not found.Name Type Description keystring The key to read.
defaultValueany The default value to return if the key was not found.
Returns:
Type Description any The key's value. -
Synchronous version of core.RegistryFile#read. This method is not part of the registry interface and only provides valid results once the registry has the
readyflag set totrue.Name Type Description keystring The key to read.
defaultValueany The default value to return if the key was not found.
Returns:
Type Description any The key's value. -
Removes the given key.
Name Type Description keystring The key to remove.
-
Writes the given key. If the key does not yet exist, it will be created.
Name Type Description keystring The key.
valueany The value to write.
descriptionstring optional An optional description text.