From 9e926ecc2d757861bc51dd3e1b9ed4e4a29eb5d1 Mon Sep 17 00:00:00 2001 From: Mathias Lang Date: Sun, 14 Jan 2024 14:40:53 +0100 Subject: [PATCH] Trivial: Deprecate string overload of readPackageRecipe To be consistent with the rest of Dub, use NativePath. --- source/dub/recipe/io.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/dub/recipe/io.d b/source/dub/recipe/io.d index 5fedf464d..384b18f2e 100644 --- a/source/dub/recipe/io.d +++ b/source/dub/recipe/io.d @@ -25,6 +25,7 @@ import dub.internal.configy.Read; Returns: Returns the package recipe contents Throws: Throws an exception if an I/O or syntax error occurs */ +deprecated("Use the overload that accepts a `NativePath` as first argument") PackageRecipe readPackageRecipe( string filename, string parent_name = null, StrictMode mode = StrictMode.Ignore) {