Skip to content

Commit

Permalink
Trivial: Deprecate string overload of readPackageRecipe
Browse files Browse the repository at this point in the history
To be consistent with the rest of Dub, use NativePath.
  • Loading branch information
Geod24 committed Jan 14, 2024
1 parent d529b1b commit 9e926ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/dub/recipe/io.d
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 9e926ec

Please sign in to comment.