refactor: Normalize internal and pkg packages

This commit is contained in:
Felix Pojtinger
2021-12-08 21:44:57 +01:00
parent 59067ec9fc
commit 103e9d1099
36 changed files with 258 additions and 219 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import (
"filippo.io/age"
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/pojntfx/stfs/internal/pax"
"github.com/pojntfx/stfs/internal/records"
"github.com/pojntfx/stfs/pkg/config"
)
@@ -63,7 +63,7 @@ func DecryptHeader(
return config.ErrEmbeddedHeaderMissing
}
encryptedEmbeddedHeader, ok := hdr.PAXRecords[pax.STFSRecordEmbeddedHeader]
encryptedEmbeddedHeader, ok := hdr.PAXRecords[records.STFSRecordEmbeddedHeader]
if !ok {
return config.ErrEmbeddedHeaderMissing
}