WebAPI/DeviceStorageAPI2: Difference between revisions

Line 97: Line 97:


'''If''' there's a desire to expose a read-only filesystem in other APIs, it'd look something like this. However this might not at all be needed. This is just the full DeviceStorage API with the all functions related to writing removed.
'''If''' there's a desire to expose a read-only filesystem in other APIs, it'd look something like this. However this might not at all be needed. This is just the full DeviceStorage API with the all functions related to writing removed.
This should not be considered as part of the remaining proposal. It only serves as an example for what it'd look like if something like this was needed or desired.


  interface ReadOnlyDeviceStorage {
  interface ReadOnlyDeviceStorage {
Confirmed users
716

edits