• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TyRoXx / NonlocalityOS / 20191186094

13 Dec 2025 11:07AM UTC coverage: 80.154% (-0.06%) from 80.214%
20191186094

Pull #368

github

web-flow
Merge 7123f0716 into 306950449
Pull Request #368: Prolly tree polishing

100 of 107 new or added lines in 12 files covered. (93.46%)

4 existing lines in 2 files now uncovered.

5396 of 6732 relevant lines covered (80.15%)

33555.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/lambda/src/standard_library.rs
1
use astraea::{deep_tree::DeepTree, tree::TreeBlob};
2

3
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)]
4
pub struct ConsoleOutput {
5
    pub message: DeepTree,
6
}
7

8
impl ConsoleOutput {
9
    pub fn to_tree(&self) -> DeepTree {
2✔
10
        DeepTree::new(TreeBlob::empty(), vec![self.message.clone()])
10✔
11
    }
12

13
    pub fn from_tree(tree: &DeepTree) -> Option<ConsoleOutput> {
1✔
14
        if !tree.blob().is_empty() {
1✔
NEW
15
            return None;
×
16
        }
17
        if tree.references().len() != 1 {
1✔
18
            return None;
×
19
        }
20
        Some(ConsoleOutput {
1✔
21
            message: tree.references()[0].clone(),
2✔
22
        })
23
    }
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc