From 06abba2d7150cde7c7c223a06232a9fbb00260f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Thu, 2 Oct 2025 10:46:49 +0000 Subject: [PATCH 1/2] Make SecretBuffer and shred! public I'm assuming can and should (sometimes) be used, not just by Julia. shred! ok in Strings? Maybe it or both should go under IO? --- base/public.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/public.jl b/base/public.jl index 9be5e535339a3..78b787fd9b7b6 100644 --- a/base/public.jl +++ b/base/public.jl @@ -13,6 +13,7 @@ public AbstractOneTo, AbstractPipe, AsyncCondition, + SecretBuffer, CodeUnits, Event, Fix, @@ -108,6 +109,7 @@ public # Strings escape_raw_string, + shread!, # IO # types From 2565039bdabf942e509fefec2965cfb626982c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Thu, 2 Oct 2025 21:39:49 +0000 Subject: [PATCH 2/2] Update base/public.jl fix typo Co-authored-by: Andy Dienes <51664769+adienes@users.noreply.github.com> --- base/public.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/public.jl b/base/public.jl index 78b787fd9b7b6..db459a63d5342 100644 --- a/base/public.jl +++ b/base/public.jl @@ -109,7 +109,7 @@ public # Strings escape_raw_string, - shread!, + shred!, # IO # types