pub struct NuGetConfig { /* private fields */ }Expand description
Resolved NuGet.Config view for one manifest’s directory — the merged result of every
in-repo ancestor NuGet.Config (root-to-leaf accumulation, see this module’s doc).
Implementations§
Source§impl NuGetConfig
impl NuGetConfig
Sourcepub fn resolve_source_for(&self, package: &PackageName) -> DependencySource
pub fn resolve_source_for(&self, package: &PackageName) -> DependencySource
FR-002–FR-009: resolves one dependency’s DependencySource.
Sourcepub fn resolved_chains(&self) -> Vec<NuGetSourceChain>
pub fn resolved_chains(&self) -> Vec<NuGetSourceChain>
Every chain this config implies, ready for NuGetRegistry::register_chain — one chain
per distinct <packageSourceMapping> hop-set (when a mapping is declared), or the
single plain accumulated chain otherwise. Empty when nothing is registrable (US-004,
R4’s fail-closed states, or a mapping group that resolves to only the public source).
Trait Implementations§
Source§impl Debug for NuGetConfig
impl Debug for NuGetConfig
Source§impl Default for NuGetConfig
impl Default for NuGetConfig
Source§fn default() -> NuGetConfig
fn default() -> NuGetConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NuGetConfig
impl RefUnwindSafe for NuGetConfig
impl Send for NuGetConfig
impl Sync for NuGetConfig
impl Unpin for NuGetConfig
impl UnsafeUnpin for NuGetConfig
impl UnwindSafe for NuGetConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more