moby--moby/vendor/github.com/Microsoft/go-winio/pkg
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
..
etw vendor: Update go-winio to v0.5.1 2021-10-15 14:33:34 -07:00
etwlogrus vendor: regenerate 2022-01-18 15:46:04 +01:00
fs daemon/graphdriver/windows: use go-winio.GetFileSystemType() 2022-10-10 16:22:05 +02:00
guid vendor: github.com/Microsoft/go-winio v0.5.2 2022-04-29 16:12:56 +02:00
security vendor: github.com/Microsoft/go-winio v0.5.2 2022-04-29 16:12:56 +02:00