feat: Implement encryption for more text header fields

This commit is contained in:
Felix Pojtinger
2021-12-02 23:57:21 +01:00
parent d92f51e97b
commit 22e4f6052b
3 changed files with 37 additions and 5 deletions
+7 -5
View File
@@ -3,21 +3,23 @@ package pax
import "errors"
const (
STFSRecordVersion = "STFS.Version"
STFSPrefix = "STFS."
STFSRecordVersion = STFSPrefix + "Version"
STFSRecordVersion1 = "1"
STFSRecordAction = "STFS.Action"
STFSRecordAction = STFSPrefix + "Action"
STFSRecordActionCreate = "CREATE"
STFSRecordActionDelete = "DELETE"
STFSRecordActionUpdate = "UPDATE"
STFSRecordReplacesContent = "STFS.ReplacesContent"
STFSRecordReplacesContent = STFSPrefix + "ReplacesContent"
STFSRecordReplacesContentTrue = "true"
STFSRecordReplacesContentFalse = "false"
STFSRecordReplacesName = "STFS.ReplacesName"
STFSRecordReplacesName = STFSPrefix + "ReplacesName"
STFSRecordUncompressedSize = "STFS.UncompressedSize"
STFSRecordUncompressedSize = STFSPrefix + "UncompressedSize"
)
var (