ManifestUtilities
Documentation for ManifestUtilities.
ManifestUtilities.prune_manifest
โ Methodprune_manifest(io::IO; kwargs...)
Parse the given project and manifest, and generate a new manifest that only includes packages that are direct or indirect (recursive) dependencies of the given project. The new manifest is printed to the given IO
.
Required Keyword Arguments
You must specify one (and exactly one) of project
and project_filename
. Similarly, you must specify one (and exactly one) of manifest
and manifest_filename
.
project::Union{AbstractString, IO}
: the contents of the inputProject.toml
fileproject_filename::AbstractString
: the filename of the inputProject.toml
filemanifest::Union{AbstractString, IO}
: the contents of the inputManifest.toml
filemanifest_filename::AbstractString
: the filename of the inputManifest.toml
file
ManifestUtilities.prune_manifest
โ Methodprune_manifest(; kwargs...) --> new_manifest::AbstractString
Parse the given project and manifest, and generate a new manifest that only includes packages that are direct or indirect (recursive) dependencies of the given project. The new manifest is returned as an AbstractString
.
Required Keyword Arguments
You must specify one (and exactly one) of project
and project_filename
. Similarly, you must specify one (and exactly one) of manifest
and manifest_filename
.
project::Union{AbstractString, IO}
: the contents of the inputProject.toml
fileproject_filename::AbstractString
: the filename of the inputProject.toml
filemanifest::Union{AbstractString, IO}
: the contents of the inputManifest.toml
filemanifest_filename::AbstractString
: the filename of the inputManifest.toml
file