| 273 | } |
| 274 | |
| 275 | Result FSUSER_DeleteDirectoryRecursively(FS_Archive archive, FS_Path path) |
| 276 | { |
| 277 | u32 *cmdbuf = getThreadCommandBuffer(); |
| 278 | |
| 279 | cmdbuf[0] = IPC_MakeHeader(0x807,5,2); // 0x8070142 |
| 280 | cmdbuf[1] = 0; |
| 281 | cmdbuf[2] = (u32) archive; |
| 282 | cmdbuf[3] = (u32) (archive >> 32); |
| 283 | cmdbuf[4] = path.type; |
| 284 | cmdbuf[5] = path.size; |
| 285 | cmdbuf[6] = IPC_Desc_StaticBuffer(path.size, 0); |
| 286 | cmdbuf[7] = (u32) path.data; |
| 287 | |
| 288 | Result ret = 0; |
| 289 | if(R_FAILED(ret = svcSendSyncRequest(fsSessionForArchive(archive)))) return ret; |
| 290 | |
| 291 | return cmdbuf[1]; |
| 292 | } |
| 293 | |
| 294 | Result FSUSER_CreateFile(FS_Archive archive, FS_Path path, u32 attributes, u64 fileSize) |
| 295 | { |
nothing calls this directly
no test coverage detected