StorageManager

StorageManager

new StorageManager(diddle)

Source:
Parameters:
Name Type Description
diddle DiddleEngine

Members

_cache :Array.<StorageObject>

Source:
Type:

Methods

get(StorageID) → {StorageObject|Array.<StorageObject>}

Fetch storage object with matching ID

Source:
Parameters:
Name Type Description
StorageID string

Get storage object with the matching Storage ID. When undefined StorageObject._cache is returned

Returns:

getByFilename(fname) → {Array.<StorageObject>}

Fetch all Storage Objects matching the filename.

Source:
Parameters:
Name Type Description
fname string

Filename

Returns:
Type:
Array.<StorageObject>

getByName(StorageName) → {Array.<StorageObject>}

Returns all storage objects with the matching meta name

Source:
Parameters:
Name Type Description
StorageName string
Returns:
Type:
Array.<StorageObject>