Confirmed users
716
edits
(→API) |
|||
| Line 96: | Line 96: | ||
=== Read-only FileSystem === | === Read-only FileSystem === | ||
'''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. | |||
interface ReadOnlyDeviceStorage { | interface ReadOnlyDeviceStorage { | ||