drive_other.go

 1//go:build !windows
 2
 3package fsext
 4
 5// WindowsWorkingDirDrive returns the drive letter of the current working
 6// directory, e.g. "C:".
 7// Falls back to the system drive if the current working directory cannot be
 8// determined.
 9func WindowsWorkingDirDrive() string {
10	panic("cannot call fsext.WindowsWorkingDirDrive() on non-Windows OS")
11}
12
13// WindowsSystemDrive returns the drive letter of the system drive, e.g. "C:".
14func WindowsSystemDrive() string {
15	panic("cannot call fsext.WindowsSystemDrive() on non-Windows OS")
16}