Kevin Cui
0c587f0246
refactor(machine,wsl): improve operations of Windows API
...
1. Prefer using the built-in functions of `golang.org/x/sys/windows` rather than using `syscall` to directly call system APIs
2. Reduce bitwise operations to improve code maintainability
3. Minimize defining your own Flags, and prioritize using those already defined in `golang.org/x/sys/windows`
Signed-off-by: Kevin Cui <bh@bugs.cc >
2024-06-11 09:44:43 +08:00
..
2024-05-20 16:17:59 +02:00
2024-05-17 17:53:28 +09:00
2024-03-13 00:58:50 +01:00
2024-05-14 16:15:56 +01:00
2024-05-17 17:53:28 +09:00
2024-05-23 10:23:06 -04:00
2024-04-19 09:52:14 +02:00
2024-05-17 17:53:28 +09:00
2024-05-17 17:53:28 +09:00
2024-05-17 17:53:28 +09:00
2024-03-14 11:13:08 +01:00
2024-05-16 15:50:12 -04:00
2024-03-04 23:54:31 -06:00
2024-03-04 23:54:31 -06:00
2024-05-07 21:16:46 -04:00
2024-02-22 11:23:45 +01:00
2024-05-17 17:53:28 +09:00
2024-04-26 12:31:42 -04:00
2024-04-19 09:52:14 +02:00
2024-04-26 12:31:42 -04:00
2024-05-17 17:53:28 +09:00
2024-06-11 09:44:43 +08:00
2024-02-27 13:33:43 -06:00
2024-03-04 23:54:31 -06:00
2024-05-17 17:53:28 +09:00
2024-01-04 11:53:38 +02:00
2024-02-20 08:06:18 -05:00
2024-02-28 16:05:50 -06:00
2024-02-20 08:06:18 -05:00
2024-02-22 12:39:20 +01:00
2024-04-19 09:52:14 +02:00
2024-03-13 13:28:14 -05:00
2024-02-11 12:58:11 -06:00
2024-01-04 11:53:38 +02:00
2024-04-19 09:52:14 +02:00
2024-03-04 23:54:31 -06:00
2024-02-07 08:17:43 -06:00
2024-02-22 11:23:45 +01:00
2024-02-22 11:23:45 +01:00
2024-03-24 21:25:22 -05:00
2024-04-13 15:20:19 +08:00
2024-04-30 11:25:45 -04:00