sok.server.disks
The disks of the folders of S.O.K Server: their size and free room.
The Analysis screen shows them under "Your disks": one line per volume (the folders on the same disk share it), named after its first folder, with a gauge of the room used.
Functions
disks
def disks(folders: List[str]) -> List[Dict[str, Any]]:One entry per volume of the folders given, in their order: its first folder ("path"), all its folders, its total size and free room in bytes. A missing or unreadable folder is left out.
Parameters
| Name | Type | Description |
|---|---|---|
folders | List[str] |