There are a few funcs to check if we're on NTFS. For example in LCOW:
|
func getFileSystemType(path string) (fsType string, hr error) { |
|
func win32FromHresult(hr uintptr) uintptr { |
And then in the Windows snapshotter:
|
func getFileSystemType(path string) (fsType string, hr error) { |
|
func win32FromHresult(hr uintptr) uintptr { |
It would be nice to have these public and outside of the specific snapshotter implementations so they can be shared and re-used.
/cc @jterry75
There are a few funcs to check if we're on NTFS. For example in LCOW:
containerd/snapshots/lcow/lcow.go
Line 410 in 574bde0
containerd/snapshots/lcow/lcow.go
Line 433 in 574bde0
And then in the Windows snapshotter:
containerd/snapshots/windows/windows.go
Line 344 in 574bde0
containerd/snapshots/windows/windows.go
Line 367 in 574bde0
It would be nice to have these public and outside of the specific snapshotter implementations so they can be shared and re-used.
/cc @jterry75