refactor: Normalize internal and pkg packages
This commit is contained in:
@@ -3,7 +3,7 @@ package hardware
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/pojntfx/stfs/internal/controllers"
|
||||
"github.com/pojntfx/stfs/internal/mtio"
|
||||
)
|
||||
|
||||
func Eject(
|
||||
@@ -15,5 +15,5 @@ func Eject(
|
||||
}
|
||||
defer f.Close()
|
||||
|
||||
return controllers.EjectTape(f)
|
||||
return mtio.EjectTape(f)
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package hardware
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/pojntfx/stfs/internal/controllers"
|
||||
"github.com/pojntfx/stfs/internal/mtio"
|
||||
)
|
||||
|
||||
func Tell(
|
||||
@@ -15,5 +15,5 @@ func Tell(
|
||||
}
|
||||
defer f.Close()
|
||||
|
||||
return controllers.GetCurrentRecordFromTape(f)
|
||||
return mtio.GetCurrentRecordFromTape(f)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user