From 31e997febdef5309db1ab76e7284a7d26cafa8d7 Mon Sep 17 00:00:00 2001 From: gustav-fff <286169375+gustav-fff@users.noreply.github.com> Date: Mon, 1 Jun 2026 10:02:58 -0700 Subject: [PATCH] fix: treat .pkl and .pickle as text (not binary) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pkl (pkl-lang.org) is a configuration language with .pkl files. Was classified as binary alongside Python pickle (.pickle). Remove both — pkl is plain text; legacy pickle is rare and harmless to preview. Closes #550 --- crates/fff-core/src/file_picker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fff-core/src/file_picker.rs b/crates/fff-core/src/file_picker.rs index c89b4afb..b2a73f87 100644 --- a/crates/fff-core/src/file_picker.rs +++ b/crates/fff-core/src/file_picker.rs @@ -2019,7 +2019,7 @@ pub fn is_known_binary_extension(path: &Path) -> bool { "cmi" | "cmt" | "cmti" | "cmx" | "nib" | "swiftdeps" | "swiftdeps~" | "swiftdoc" | "swiftmodule" | "swiftsourceinfo" | // ML/Data Science - "npy" | "npz" | "pkl" | "pickle" | "h5" | "hdf5" | "pt" | "onnx" | + "npy" | "npz" | "h5" | "hdf5" | "pt" | "onnx" | "safetensors" | "tfrecord" | "tflite" | "gguf" | "ggml" | "joblib" | // 3D/Game assets "glb" | "blend" | "blp" |