From 504698a3533ad7f4599d1b24505bbf7a3b2298ee Mon Sep 17 00:00:00 2001 From: folbrich Date: Sat, 10 Aug 2019 18:06:25 -0600 Subject: [PATCH] Add CaFormatExcludeFile flag as per #114 --- const.go | 1 + tar.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/const.go b/const.go index 9e7c52f..d756443 100644 --- a/const.go +++ b/const.go @@ -71,6 +71,7 @@ const ( CaFormatWithSELinux = 0x40000000 CaFormatWithFcaps = 0x80000000 + CaFormatExcludeFile = 0x1000000000000000 CaFormatSHA512256 = 0x2000000000000000 CaFormatExcludeSubmounts = 0x4000000000000000 CaFormatExcludeNoDump = 0x8000000000000000 diff --git a/tar.go b/tar.go index e206301..d0be051 100644 --- a/tar.go +++ b/tar.go @@ -27,7 +27,8 @@ const TarFeatureFlags uint64 = CaFormatWith32BitUIDs | CaFormatWithSockets | CaFormatWithXattrs | CaFormatSHA512256 | - CaFormatExcludeNoDump + CaFormatExcludeNoDump | + CaFormatExcludeFile // Tar implements the tar command which recursively parses a directory tree, // and produces a stream of encoded casync format elements (catar file).