|
spudplate
Template scaffolding compiler for spudlang .spud files
|
Optional inputs shaping how bundle_assets resolves include deps.
More...
#include <bundler.h>
Public Attributes | |
| const Spudpack * | existing_parent = nullptr |
| Previously-installed parent whose bundled deps the bundler should reuse by default ("sticky" mode). | |
| const std::unordered_set< std::string > * | update_deps = nullptr |
| Names of unpinned deps the caller wants refreshed from the install root despite the sticky default. | |
Optional inputs shaping how bundle_assets resolves include deps.
existing_parent, when non-null, supplies the previously-installed parent's bundled deps so the bundler can default to "sticky" - reusing the bytes the parent already carried instead of re-fetching from the install root. This preserves the author's choice of dep version across source-only edits to the parent.
update_deps, when non-null, names the unpinned deps the caller wants refreshed from the current install root despite sticky default. Pinned deps (those with version_pin in source) are unaffected by this set; resolution always honours the pin.
| const Spudpack* spudplate::BundleOptions::existing_parent = nullptr |
Previously-installed parent whose bundled deps the bundler should reuse by default ("sticky" mode).
Null when there is no prior install.
| const std::unordered_set<std::string>* spudplate::BundleOptions::update_deps = nullptr |
Names of unpinned deps the caller wants refreshed from the install root despite the sticky default.
Null means "no overrides".