-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
As a developer I want a method to get all storage info available on a Camera.
Example GPPhoto2
gphoto2 --storage-info
[Storage 0]
label=NIKON D70
basedir=/store_00010001
access=2 Read-only with delete
type=4 Removable RAM
fstype=4 Camera layout (DCIM)
totalcapacity=7822432 KB
free=7452704 KB
freeimages=697
StorageInfo interface
{
"label": "NIKON D70",
"basedir": "/store_00010001",
"access": "2 Read-only with delete",
"type": "4 Removable RAM",
"fstype": "4 Camera layout (DCIM)",
"totalcapacity": "7822432 KB",
"free": "7452704 KB",
"freeimages": 697
}
Acceptance criteria
- Add method Camera.storageInfo(): StorageInfo[]
- Return an array of StorageInfo