fs

package
v0.4.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

View Source
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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL