tape

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: AGPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenTapeReadOnly

func OpenTapeReadOnly(drive string) (f *os.File, isRegular bool, err error)

func OpenTapeWriteOnly

func OpenTapeWriteOnly(
	drive string,
	mt config.MagneticTapeIO,
	recordSize int,
	overwrite bool,
) (f *os.File, isRegular bool, err error)

Types

type TapeManager

type TapeManager struct {
	// contains filtered or unexported fields
}

func NewTapeManager

func NewTapeManager(
	drive string,
	mt config.MagneticTapeIO,
	recordSize int,
	overwrite bool,
) *TapeManager

func (*TapeManager) Close

func (m *TapeManager) Close() error

func (*TapeManager) GetReader

func (m *TapeManager) GetReader() (config.DriveReaderConfig, error)

func (*TapeManager) GetWriter

func (m *TapeManager) GetWriter() (config.DriveWriterConfig, error)

Jump to

Keyboard shortcuts

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