Clarify repeated bootstrap for prepared sources
This commit is contained in:
@@ -122,6 +122,9 @@ type SecretsFromConfigOptions struct {
|
||||
|
||||
// LoadSecretsIntoEnvironmentFromConfig explicitly prepares a host File or
|
||||
// SearchConfig main and loads its declared secrets directory before loading.
|
||||
// Passing a previously prepared source reuses its captured main document and
|
||||
// explicitly repeats bootstrap. Loading that source with Load or LoadLayered
|
||||
// does not repeat bootstrap.
|
||||
// NoSource and an optional search with no match return NoSource and an empty
|
||||
// report. The returned source owns a reusable main-document snapshot and its
|
||||
// host context; imports and environment lookup remain part of each later load.
|
||||
|
||||
Reference in New Issue
Block a user