Files
stfs/internal/mtio/mtio_stub.go
2021-12-20 01:58:34 +01:00

30 lines
543 B
Go

//go:build !linux
package mtio
import (
"os"
"github.com/pojntfx/stfs/pkg/config"
)
func GetCurrentRecordFromTape(f *os.File) (int64, error) {
return -1, config.ErrTapeDrivesUnsupported
}
func GoToEndOfTape(f *os.File) error {
return config.ErrTapeDrivesUnsupported
}
func GoToNextFileOnTape(f *os.File) error {
return config.ErrTapeDrivesUnsupported
}
func EjectTape(f *os.File) error {
return config.ErrTapeDrivesUnsupported
}
func SeekToRecordOnTape(f *os.File, record int32) error {
return config.ErrTapeDrivesUnsupported
}