depzip-lib v0.4.3
Package archiver
Loading...
Searching...
No Matches
depzip::PackageInfo Struct Reference

Package description. More...

#include <depzip/package_info.hpp>

Public Attributes

std::string_view uri
 Location / identifier of a specific repository Values of the form 'a/b' get appended to the default host, else used as is.
std::string_view branch {}
 Git commit-ish to checkout.
std::string_view subdir {}
 Subdirectory to clone to, can be empty.
std::vector< std::string_view > remove_subpaths {}
 Sub-paths to remove after cloning (eg docs, examples).
std::string_view custom_command {}
 Custom shell command(s) to run, eg 'cmake -P script.cmake'.

Detailed Description

Package description.

Member Data Documentation

◆ branch

std::string_view depzip::PackageInfo::branch {}

Git commit-ish to checkout.

◆ custom_command

std::string_view depzip::PackageInfo::custom_command {}

Custom shell command(s) to run, eg 'cmake -P script.cmake'.

◆ remove_subpaths

std::vector<std::string_view> depzip::PackageInfo::remove_subpaths {}

Sub-paths to remove after cloning (eg docs, examples).

◆ subdir

std::string_view depzip::PackageInfo::subdir {}

Subdirectory to clone to, can be empty.

◆ uri

std::string_view depzip::PackageInfo::uri

Location / identifier of a specific repository Values of the form 'a/b' get appended to the default host, else used as is.

Required parameter.


The documentation for this struct was generated from the following file: