go-winio: github.com/microsoft/go-winio/pkg/fs Index | Files

package fs

import "github.com/microsoft/go-winio/pkg/fs"

Index

Package Files

fs_windows.go

Variables

var (
    // ErrInvalidPath is returned when the location of a file path doesn't begin with a driver letter.
    ErrInvalidPath = errors.New("the path provided to GetFileSystemType must start with a drive letter")
)

func GetFileSystemType Uses

func GetFileSystemType(path string) (fsType string, hr error)

GetFileSystemType obtains the type of a file system through GetVolumeInformation. https://msdn.microsoft.com/en-us/library/windows/desktop/aa364993(v=vs.85).aspx

Package fs imports 5 packages (graph). Updated 2019-07-03 with GOOS=windows. Refresh now. Tools for package owners.