Sebastiaan van Stijn
90431d1857
daemon/graphdriver/windows: use go-winio.GetFileSystemType()
...
go-winio now defines this function, so we can consume that.
Note that there's a difference between the old implementation and the original
one (added in 1cb9e9b44e ). The old implementation
had special handling for win32 error codes, which was removed in the go-winio
implementation in 0966e1ad56
As `go-winio.GetFileSystemType()` calls `filepath.VolumeName(path)` internally,
this patch also removes the `string(home[0])`, which is redundant, and could
potentially panic if an empty string would be passed.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-10-10 16:22:05 +02:00
..
2022-09-30 18:40:19 +02:00
2022-08-18 22:59:57 +02:00
2022-09-07 22:01:49 +02:00
2022-09-30 18:40:19 +02:00
2022-10-10 16:22:05 +02:00
2022-09-28 01:58:51 +02:00
2022-09-23 16:56:53 -04:00
2022-05-09 19:45:40 +08:00
2021-08-24 23:33:27 +02:00
2022-10-06 20:08:53 +02:00
2022-09-28 01:58:51 +02:00
2022-09-30 18:40:19 +02:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2022-03-14 16:28:57 -04:00
2022-09-27 22:24:29 +02:00
2022-09-27 22:24:51 +02:00
2022-05-12 11:36:31 +02:00
2022-07-29 23:05:18 +02:00
2022-09-07 22:01:49 +02:00
2022-08-24 14:59:08 -04:00
2021-06-01 21:51:23 +00:00
2019-10-17 23:49:43 +02:00
2021-08-24 23:33:27 +02:00
2022-01-12 18:28:15 +01:00
2022-05-05 00:53:52 +02:00
2021-08-27 14:56:57 +08:00
2022-09-30 09:23:36 -07:00
2021-08-24 23:33:27 +02:00
2020-04-14 17:22:19 +02:00
2022-08-18 09:44:51 +02:00
2022-09-07 15:27:16 +02:00
2020-02-11 00:06:42 +01:00
2021-08-24 23:33:27 +02:00
2021-07-27 13:35:59 +02:00
2022-09-27 17:59:23 +02:00
2022-09-28 01:58:51 +02:00
2022-05-29 16:28:13 +02:00
2022-05-20 18:22:21 +02:00
2022-01-06 18:28:10 +01:00
2022-09-28 01:58:51 +02:00
2022-06-03 17:54:43 +02:00
2021-08-24 23:33:27 +02:00
2022-09-23 16:56:53 -04:00
2022-09-30 22:30:58 +00:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2021-07-15 18:09:43 +02:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2022-04-21 17:33:07 -04:00
2022-04-21 19:50:59 +02:00
2022-03-18 09:44:53 +01:00
2020-04-14 17:22:23 +02:00
2022-06-07 22:01:12 +02:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2022-08-24 19:35:07 -04:00
2022-09-23 16:56:53 -04:00
2019-10-18 00:57:56 +02:00
2022-09-02 10:48:22 +02:00
2022-05-04 20:17:18 +02:00
2022-09-07 16:53:45 +02:00
2021-08-24 23:33:27 +02:00
2022-08-18 18:41:03 +00:00
2019-05-07 10:22:16 -07:00
2022-08-18 09:44:56 +02:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2022-08-25 11:51:42 -07:00
2021-08-24 23:33:27 +02:00
2021-08-27 14:56:57 +08:00
2022-08-24 14:59:08 -04:00
2020-02-11 00:06:42 +01:00
2022-03-18 09:44:53 +01:00
2021-08-24 23:33:27 +02:00
2022-09-23 16:56:52 -04:00
2022-09-21 17:38:45 +02:00
2020-02-19 17:02:34 -05:00
2020-02-19 17:02:34 -05:00
2020-04-14 17:22:23 +02:00
2022-09-22 12:13:28 +02:00
2021-08-24 23:33:27 +02:00
2022-04-28 17:21:03 -04:00
2022-08-25 20:03:42 -04:00
2019-06-07 11:54:45 +01:00
2021-06-01 21:51:23 +00:00
2022-09-30 09:23:36 -07:00
2019-09-18 12:56:54 +02:00
2022-09-23 16:56:52 -04:00
2022-09-28 01:58:51 +02:00
2022-05-19 07:57:27 +02:00
2019-09-18 12:56:54 +02:00
2022-04-21 17:33:07 -04:00
2022-09-23 16:56:52 -04:00
2022-08-24 14:59:08 -04:00
2021-06-01 23:48:32 +00:00
2022-09-28 01:58:51 +02:00
2021-08-24 23:33:27 +02:00
2022-06-07 22:01:12 +02:00
2021-06-01 21:51:23 +00:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2022-09-28 01:58:51 +02:00
2022-08-17 08:54:32 +02:00
2022-08-18 18:41:03 +00:00
2021-01-14 19:28:28 +00:00
2022-09-28 01:58:51 +02:00
2022-05-12 14:48:35 -07:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2021-08-24 23:33:27 +02:00
2021-08-17 07:09:40 -07:00
2022-09-23 16:56:49 -04:00
2021-08-24 23:33:27 +02:00
2020-04-16 20:57:06 +02:00
2022-05-05 00:53:53 +02:00
2021-08-24 23:33:27 +02:00
2022-08-24 14:59:08 -04:00
2022-08-24 14:59:08 -04:00
2022-05-31 21:53:38 +02:00
2019-08-08 15:05:49 +02:00
2022-08-24 14:59:08 -04:00
2019-09-18 12:56:54 +02:00
2022-08-24 14:59:08 -04:00
2020-04-14 17:22:23 +02:00
2021-07-02 13:51:55 +02:00
2021-08-24 23:33:27 +02:00
2022-09-27 22:24:29 +02:00