new StorageObject(_filename, _directory)
Properties:
Name | Type | Description |
---|---|---|
filename |
string
|
The filename for the object currently accessing |
directory |
string
|
Directory where the file exists |
location |
string
|
Absolute file location |
hasUpdated |
bool
|
If true there are pending changes to sync. |
Parameters:
Name | Type | Description |
---|---|---|
_filename |
string
|
A Valid JSON Filename |
_directory |
string
|
A Valid Directory |
Methods
set(data) → {*}
Parameters:
Name | Type | Description |
---|---|---|
data |
*
|
Set this StorageObjects content |
Returns:
- Type:
-
*
_data.meta.content