From bf2b8773e3ea2bf44439645fa6f0626726476f9c Mon Sep 17 00:00:00 2001 From: Ahrav Dutta Date: Sat, 16 Dec 2023 07:25:43 -0800 Subject: [PATCH 1/2] add additional binary extensions to skip --- pkg/common/vars.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/common/vars.go b/pkg/common/vars.go index e21c3dd7e39a..c071d88cb37b 100644 --- a/pkg/common/vars.go +++ b/pkg/common/vars.go @@ -28,6 +28,7 @@ var ( "wav", "flac", "webp", + "pdf", // images "png", @@ -79,6 +80,10 @@ var ( "vxd": {}, // Virtual device driver in Windows "sfx": {}, // Self-extracting archive "bundle": {}, // Mac OS X application bundle + "pyo": {}, // Compiled Python file + "pyc": {}, // Compiled Python file + "whl": {}, // Python wheel file + "sym": {}, // Symbolic link, Unix/Linux } ) From cd1b67b86a576d5dcd5b5d6781809f277d7d965c Mon Sep 17 00:00:00 2001 From: Ahrav Dutta Date: Sat, 16 Dec 2023 11:30:52 -0800 Subject: [PATCH 2/2] remove whl --- pkg/common/vars.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/common/vars.go b/pkg/common/vars.go index c071d88cb37b..c674bd9da2e6 100644 --- a/pkg/common/vars.go +++ b/pkg/common/vars.go @@ -82,7 +82,6 @@ var ( "bundle": {}, // Mac OS X application bundle "pyo": {}, // Compiled Python file "pyc": {}, // Compiled Python file - "whl": {}, // Python wheel file "sym": {}, // Symbolic link, Unix/Linux } )