package fs

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

Index

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")
)

Functions

func GetFileSystemType

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

Source Files

fs_windows.go

Version
v0.4.14
Published
Aug 6, 2019
Platform
windows/amd64
Imports
5 packages
Last checked
6 hours ago

Tools for package owners.