dub.recipe.io

Package recipe reading/writing facilities.

Members

Functions

parsePackageRecipe
deprecated PackageRecipe parsePackageRecipe(string contents, string filename, string parent, string default_package_name, StrictMode mode)
PackageRecipe parsePackageRecipe(string contents, string filename, PackageName parent, string default_package_name, StrictMode mode)

Parses an in-memory package recipe.

readPackageRecipe
deprecated PackageRecipe readPackageRecipe(string filename, string parent, StrictMode mode)
deprecated PackageRecipe readPackageRecipe(NativePath filename, string parent, StrictMode mode)
PackageRecipe readPackageRecipe(NativePath filename, PackageName parent, StrictMode mode)

Reads a package recipe from a file.

serializePackageRecipe
void serializePackageRecipe(R dst, PackageRecipe recipe, string filename)

Converts a package recipe to its textual representation.

writePackageRecipe
void writePackageRecipe(string filename, PackageRecipe recipe)
void writePackageRecipe(NativePath filename, PackageRecipe recipe)

Writes the textual representation of a package recipe to a file.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig