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, err 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.5.0
Published
Apr 22, 2021
Platform
windows/amd64
Imports
3 packages
Last checked
1 day ago

Tools for package owners.