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.4.21
Published
May 21, 2024
Platform
windows/amd64
Imports
3 packages
Last checked
44 minutes ago

Tools for package owners.