Skip to content

Windows snapshotters: make utility functions public/refactor #3362

@ehotinger

Description

@ehotinger

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions