aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/archive/tar/common.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/archive/tar/common.go b/src/archive/tar/common.go
index 0d5a942024..38216ac13f 100644
--- a/src/archive/tar/common.go
+++ b/src/archive/tar/common.go
@@ -59,8 +59,10 @@ func (he headerError) Error() string {
// Type flags for Header.Typeflag.
const (
// Type '0' indicates a regular file.
- TypeReg = '0'
- TypeRegA = '\x00' // Deprecated: Use TypeReg instead.
+ TypeReg = '0'
+
+ // Deprecated: Use TypeReg instead.
+ TypeRegA = '\x00'
// Type '1' to '6' are header-only flags and may not have a data body.
TypeLink = '1' // Hard link