Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

report

top

The make() method returns a boolean indicating success or failure. You can also inspect the nodes_status map to see the status of each node after the build.

the status types

top

#![allow(unused)]
fn main() {
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub enum GNodeStatus {
    Initial,
    MountedChanged,
    MountedNotChanged,
    MountedFailed,
    ScanIncomplete,
    Running,
    BuildSuccess,
    BuildNotChanged,
    BuildNotRequired,
    BuildFailed,
    AncestorFailed,
}
}

Status meanings:

  • Initial: Node has not been processed yet
  • Mounted: Root node source file has been copied to sandbox
  • MountedFailed: Failed to copy source file to sandbox
  • Running: Node build is currently in progress
  • Build: Node was built successfully
  • BuildFailed: Node build failed
  • AncestorFailed: A predecessor node failed, so this node was skipped