dub.recipe.io

Package recipe reading/writing facilities.

Members

Functions

parsePackageRecipe
PackageRecipe parsePackageRecipe(string contents, string filename, string parent_name = null, string default_package_name = null)

Parses an in-memory package recipe.

readPackageRecipe
PackageRecipe readPackageRecipe(string filename, string parent_name = null)
PackageRecipe readPackageRecipe(NativePath filename, string parent_name = null)

Reads a package recipe from a file.

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

Converts a package recipe to its textual representation.

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

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

Meta

Authors

Sönke Ludwig

License

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