diff --git a/internal/cache/errors.go b/internal/cache/error.go similarity index 100% rename from internal/cache/errors.go rename to internal/cache/error.go diff --git a/internal/mtio/mtio_stub.go b/internal/mtio/mtio_stub.go index 6ac4c6f..0907640 100644 --- a/internal/mtio/mtio_stub.go +++ b/internal/mtio/mtio_stub.go @@ -9,21 +9,21 @@ import ( ) func GetCurrentRecordFromTape(f *os.File) (int64, error) { - return -1, config.ErrDrivesUnsupported + return -1, config.ErrTapeDrivesUnsupported } func GoToEndOfTape(f *os.File) error { - return config.ErrDrivesUnsupported + return config.ErrTapeDrivesUnsupported } func GoToNextFileOnTape(f *os.File) error { - return config.ErrDrivesUnsupported + return config.ErrTapeDrivesUnsupported } func EjectTape(f *os.File) error { - return config.ErrDrivesUnsupported + return config.ErrTapeDrivesUnsupported } func SeekToRecordOnTape(f *os.File, record int32) error { - return config.ErrDrivesUnsupported + return config.ErrTapeDrivesUnsupported }