refactor: Normalize internal and pkg packages

This commit is contained in:
Felicitas Pojtinger
2021-12-08 21:44:57 +01:00
parent 6c5c932b2d
commit f6b1ab0320
36 changed files with 258 additions and 219 deletions

View File

@@ -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)
}

View File

@@ -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)
}