Files
stfs/pkg/hardware/tell.go

13 lines
219 B
Go

package hardware
import (
"github.com/pojntfx/stfs/internal/mtio"
"github.com/pojntfx/stfs/pkg/config"
)
func Tell(
state config.DriveConfig,
) (int64, error) {
return mtio.GetCurrentRecordFromTape(state.Drive)
}