typedef struct FSArchiveResource
{
u64 totalSize;
u64 availableSize;
u32 maxFileHandles;
u32 currentFileHandles;
u32 maxDirectoryHandles;
u32 currentDirectoryHandles;
// for FAT archives.
u32 bytesPerSector;
u32 sectorsPerCluster;
u32 totalClusters;
u32 availableClusters;
}
FSArchiveResource;
A structure that indicates the resource information that can be obtained with FS_GetArchiveResource()
. The details of each member are as follows.
totalSize | Indicates the total size of an archive in bytes. Note that this will be a 64-bit integer. |
availableSize | Indicates the amount of free space within an archive in bytes. Note that this will be a 64-bit integer. |
maxFileHandles | Indicates the maximum number of files that can be opened simultaneously. |
currentFileHandles | Indicates the number of files that are currently open. |
maxDirectoryHandles | Indicates the maximum number of directories that can be opened simultaneously. |
currentDirectoryHandles | Indicates the number of directories that are currently open. |
The following members are only valid for archives that have FAT as the internal structure, such as NAND archives and SD Card archives. | |
bytesPerSector | Indicates the number of bytes per sector. |
sectorsPerCluster | Indicates the number of sectors per cluster. |
totalClusters | Indicates the total number of clusters. |
availableClusters | Indicates the number of available clusters. |
2007/12/17 Initial version.
CONFIDENTIAL