aboutsummaryrefslogtreecommitdiff
path: root/src/zenremotestore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-10-17 11:19:56 +0200
committerGitHub Enterprise <[email protected]>2025-10-17 11:19:56 +0200
commit5467e316e0fe071a9a9cf90b2c905da65d8566e7 (patch)
tree33698fa16e8515854bc62f65364d3a7bad6ed572 /src/zenremotestore/include
parentclean up http response formatters (#584) (diff)
downloadzen-5467e316e0fe071a9a9cf90b2c905da65d8566e7.tar.xz
zen-5467e316e0fe071a9a9cf90b2c905da65d8566e7.zip
exclude .sym and .psym (#585)
* exclude .sym and .psym * add more text file types to list of extensions to exclude from chunking * use hash set for extensions when checking for chunking strategy
Diffstat (limited to 'src/zenremotestore/include')
-rw-r--r--src/zenremotestore/include/zenremotestore/chunking/chunkingcontroller.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/zenremotestore/include/zenremotestore/chunking/chunkingcontroller.h b/src/zenremotestore/include/zenremotestore/chunking/chunkingcontroller.h
index 2d1ba36aa..b49d76a09 100644
--- a/src/zenremotestore/include/zenremotestore/chunking/chunkingcontroller.h
+++ b/src/zenremotestore/include/zenremotestore/chunking/chunkingcontroller.h
@@ -11,8 +11,10 @@
namespace zen {
-const std::vector<std::string> DefaultChunkingExcludeExtensions =
- {".exe", ".dll", ".pdb", ".self", ".mp4", ".zip", ".7z", ".bzip", ".rar", ".gzip"};
+const std::vector<std::string> DefaultChunkingExcludeExtensions = {
+ ".exe", ".dll", ".pdb", ".self", ".mp4", ".zip", ".7z", ".bzip", ".rar", ".gzip", ".sym", ".psym", ".txt", ".ini", ".json",
+ ".verse", ".versemodule", ".jpg", ".c", ".h", ".cpp", ".cxx", ".c++", ".cc", ".hpp", ".hxx", ".h++", ".py", ".ogg", ".plist"};
+
const std::vector<std::string> DefaultFixedChunkingExtensions = {".apk", ".nsp", ".xvc", ".pkg", ".dmg", ".ipa"};
const bool DefaultChunkingExcludeElfFiles = true;
const bool DefaultChunkingExcludeMachOFiles = true;