fs

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: MIT Imports: 3 Imported by: 134

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, 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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