14 Commits

Author SHA1 Message Date
guoling 9789080b25 fix iOS compile error on tryAtomicRename() 2025-12-29 17:05:54 +08:00
guoling 561d56ca75 adding mayfly fd on iOS 2025-04-18 17:16:26 +08:00
guoling aad8e484c0 add iOS/macOS/Win32 disk failure protection 2025-01-13 18:11:22 +08:00
guoling 20b68dbc71 fix tryAtomicRename() with src == dst bug 2024-12-17 17:28:43 +08:00
guoling b3e4995ccd make copyFile() robust with rename() failture #1432 2024-11-15 16:06:31 +08:00
guoling d7310af125 include <unistd.h> for unlink() #1233 2024-02-05 19:58:21 +08:00
guoling a6f16b5c5e avoid using so-called privacy API #1220 2024-01-05 14:34:05 +08:00
guoling 1d1c6553d2 fix macOS build error & warning 2022-08-10 15:01:17 +08:00
guoling 674e700038 cleanup platform specific code 2021-09-27 22:10:40 +08:00
guoling 89cd549a88 add copyFile() & copyFileContent() for POSIX env 2021-09-15 20:45:29 +08:00
guoling 5c75525d8a restore works on iOS 2021-09-14 17:48:43 +08:00
guoling acf629de01 adjust log scope & log type 2021-09-13 11:42:12 +08:00
guoling d5160def4f add pseudo code for backup & restore on iOS, not tested yet 2021-09-10 22:06:13 +08:00
guoling 953b720e37 split Apple stuff in seperate file 2019-12-27 17:08:00 +08:00