| 1 | #pragma once |
| 2 | |
| 3 | #include <nn/fs/fs_types.h> |
| 4 | |
| 5 | namespace nn::fs { |
| 6 | |
| 7 | /* |
| 8 | Mount SD card. Must have explicit permission. |
| 9 | mount: drive to mount to. |
| 10 | */ |
| 11 | bool MountSdCardForDebug(const char* mount); |
| 12 | |
| 13 | Result MountSdCard(const char* mountPoint); |
| 14 | bool IsSdCardInserted(); |
| 15 | Result FormatSdCard(); |
| 16 | Result FormatSdCardDryRun(); |
| 17 | bool IsExFatSupported(); |
| 18 | |
| 19 | Result MountHost(const char* mount, const char* path); |
| 20 | Result MountHostRoot(); |
| 21 | Result UnmountHostRoot(); |
| 22 | |
| 23 | Result Unmount(const char* mountPoint); |
| 24 | |
| 25 | } // namespace nn::fs |
| 26 | |