Skip to content

feat(sltt-app): provide a disk volume api so that the client can use StorageLimitStatus to warn user when disk space is low #38

Closed
@ericpyle

Description

@ericpyle

The api needs to be able to return the volume's capacity, how much disk space is used, and how much is available.

We could just add this to our storage api, see storage/index.ts. Create a new file called storage/volumes.ts or something like that that can be imported into storage/index.ts.

getSlttAppVolumeStats should return the capacity and usage and available stats for the same volume that sltt-app is installed on.

In the future, we'll need to extend this for LAN storage to help user know how much storage is available on their LAN storage device, and to provide stats for other possible storage locations (for probeLANConnections)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions