hni 0.0.1-alpha-2

ni-compatible package manager command router with node shim
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::path::PathBuf;

use crate::core::config::HniConfig;

#[derive(Debug, Clone)]
pub struct ResolveContext {
    pub cwd: PathBuf,
    pub config: HniConfig,
}

impl ResolveContext {
    pub fn new(cwd: PathBuf, config: HniConfig) -> Self {
        Self { cwd, config }
    }
}