Skip to content

Commit

Permalink
Deprecate unused packageInfoFilenames
Browse files Browse the repository at this point in the history
This is of little value (it's just a map) and not used within dub.
  • Loading branch information
Geod24 committed Dec 18, 2023
1 parent 8025211 commit 13ee9ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/dub/package_.d
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 13ee9ce

Please sign in to comment.