diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-05-10 18:31:05 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-05-10 18:31:05 -0500 |
| commit | fb6dfe1498e2ca0cb0c9b65e00634169cf2d16c0 (patch) | |
| tree | 3ac88237edae7c28962cb71b04698523cd6f1a32 /src/slskd/Common | |
| parent | fadc47b83a1d510ec10417010fba57fe39fb099b (diff) | |
| download | slskd-fb6dfe1498e2ca0cb0c9b65e00634169cf2d16c0.tar.gz | |
obsolete local filename methods
Diffstat (limited to 'src/slskd/Common')
| -rw-r--r-- | src/slskd/Common/CommonExtensions.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs index 8e6d5603..33e59382 100644 --- a/src/slskd/Common/CommonExtensions.cs +++ b/src/slskd/Common/CommonExtensions.cs @@ -390,6 +390,7 @@ namespace slskd /// <param name="remoteFilename">The fully qualified remote filename to convert.</param> /// <param name="baseDirectory">The base directory for the local filename.</param> /// <returns>The converted filename.</returns> + [Obsolete("Find something more intelligent to do instead of this")] public static string ToLocalFilename(this string remoteFilename, string baseDirectory) { return Path.Combine(baseDirectory, remoteFilename.ToLocalRelativeFilename()); @@ -445,6 +446,7 @@ namespace slskd /// </summary> /// <param name="remoteFilename">The fully qualified remote filename to convert.</param> /// <returns>The converted filename.</returns> + [Obsolete("Find something more intelligent to do instead of this")] public static string ToLocalRelativeFilename(this string remoteFilename) { if (string.IsNullOrWhiteSpace(remoteFilename)) |
