just 1.50.0

🤖 Just a command runner
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::*;

#[derive(Debug)]
pub(crate) struct Compilation<'src> {
  pub(crate) asts: HashMap<PathBuf, Ast<'src>>,
  pub(crate) justfile: Justfile<'src>,
  pub(crate) overrides: HashMap<Number, String>,
  pub(crate) root: PathBuf,
}

impl<'src> Compilation<'src> {
  pub(crate) fn root_ast(&self) -> &Ast<'src> {
    self.asts.get(&self.root).unwrap()
  }
}