From 8fa1ef4c6b54928cadd0b9c800f267debf7dd518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20P=C3=B6lz?= <38893694+Flash0ver@users.noreply.github.com> Date: Tue, 18 Nov 2025 13:41:48 +0100 Subject: [PATCH] ref: cleanup unused code after merge --- src/Sentry/SentryOptions.cs | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/Sentry/SentryOptions.cs b/src/Sentry/SentryOptions.cs index 19ef57f673..a2e38f0354 100644 --- a/src/Sentry/SentryOptions.cs +++ b/src/Sentry/SentryOptions.cs @@ -1854,31 +1854,6 @@ internal void LogDiagnosticWarning() } } - internal string? TryGetDsnSpecificCacheDirectoryPath() - { - if (string.IsNullOrWhiteSpace(CacheDirectoryPath)) - { - return null; - } - - // DSN must be set to use caching - if (string.IsNullOrWhiteSpace(Dsn)) - { - return null; - } -#if IOS || ANDROID // on iOS or Android the app is already sandboxed so there's no risk of sending data from 1 app to another Sentry's DSN - return Path.Combine(CacheDirectoryPath, "Sentry"); -#else - return Path.Combine(CacheDirectoryPath, "Sentry", Dsn.GetHashString()); -#endif - } - - internal string? TryGetProcessSpecificCacheDirectoryPath() - { - // In the future, this will most likely contain process ID - return TryGetDsnSpecificCacheDirectoryPath(); - } - internal static List GetDefaultInAppExclude() => [ "System",