From 13ee9ce38a1c665baefc3bc84cceee27984f5d8a Mon Sep 17 00:00:00 2001 From: Mathias Lang Date: Mon, 18 Dec 2023 00:42:32 +0100 Subject: [PATCH] Deprecate unused packageInfoFilenames This is of little value (it's just a map) and not used within dub. --- source/dub/package_.d | 1 + 1 file changed, 1 insertion(+) diff --git a/source/dub/package_.d b/source/dub/package_.d index 5ff284348..36a43893b 100644 --- a/source/dub/package_.d +++ b/source/dub/package_.d @@ -51,6 +51,7 @@ static immutable FilenameAndFormat[] packageInfoFiles = [ ]; /// Returns a list of all recognized package recipe file names in descending order of precedence. +deprecated("Open an issue if this is needed") @property string[] packageInfoFilenames() { return packageInfoFiles.map!(f => cast(string)f.filename).array; } /// Returns the default package recile file name.