Commit Graph
17 Commits
Author SHA1 Message Date
topjohnwu 94b1ff674f Allow calling remove_all on non-existence file 2025-09-10 03:44:39 -07:00
topjohnwu ef4e230258 Use nix for libc functions 2025-09-08 23:59:29 -07:00
topjohnwu 17082af438 Simplify OsError 2025-09-08 11:25:20 -07:00
topjohnwu 1df5b34175 Stop differentiate Error vs ErrorCxx 2025-09-08 11:25:18 -07:00
topjohnwu ea5fe7525d Simplify LibcReturn 2025-09-08 10:55:57 -07:00
topjohnwu c1491b8d2b Fix LoggedResult implementation error 2025-08-23 15:25:52 -07:00
topjohnwu fd193c3cae Simplify ResultExt implementation
Also introduce OptionExt
2025-08-22 12:03:47 -07:00
topjohnwu 36d33c7a85 Make log_err directly return LoggedResult 2025-08-22 12:03:47 -07:00
topjohnwu 37a9724a54 Apply clippy fix 2025-07-02 21:20:14 -07:00
topjohnwu d8cf42af16 Reduce unstable feature usage 2025-05-30 11:11:36 -07:00
topjohnwu 30e79310ab Make pointers NonNull after error check 2025-04-15 00:18:48 -07:00
topjohnwu f063fa5054 Cleanup xwrap implementation 2025-04-15 00:18:48 -07:00
topjohnwu 7bd901273c Provide richer error messages
Make sure most syscall/libc calls results are mapped to OsResult
that can produce more detailed error messages.
2025-04-15 00:18:48 -07:00
topjohnwu 9c7d359093 Optimize and format imports
[skip ci]
2025-04-08 09:57:09 -07:00
topjohnwu b73d4a7022 Fix log_ok() 2025-02-16 12:01:25 -08:00
LoveSy 9a74e19117 Add log_ok() for log().ok() 2025-02-14 14:24:13 -08:00
topjohnwu 73c3d741a7 Reorganize some code 2024-03-06 18:07:01 -08:00