Files
moby/daemon
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-28 01:58:51 +02:00
2022-07-29 23:05:18 +02:00
2021-06-01 21:51:23 +00:00
2019-10-17 23:49:43 +02:00
2022-09-07 15:27:16 +02:00
2022-04-21 17:33:07 -04:00
2022-03-18 09:44:53 +01:00
2022-03-18 09:44:53 +01:00
2019-06-07 11:54:45 +01:00
2021-06-01 21:51:23 +00:00
2019-09-18 12:56:54 +02:00
2022-09-28 01:58:51 +02:00
2019-09-18 12:56:54 +02:00
2022-04-21 17:33:07 -04:00
2021-06-01 23:48:32 +00:00
2021-06-01 21:51:23 +00:00
2022-09-28 01:58:51 +02:00
2022-05-12 14:48:35 -07:00
2019-09-18 12:56:54 +02:00