Skip to content

[Feat] Camera Storage info  #4

@Romakita

Description

@Romakita

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions