Dependents: do nothing if no input is given

pmeunier
Feb 7, 2024, 6:45 PM
722IQADEVUQKPHAJDDRG7X6UA4PYRB2HQHR7CZGTYHR5I4XQRVLQC

Dependencies

  • [2] STOFOQI4 Fixing a bug in `pijul dependents` where non-dependents could be listed (and making the command deterministic)
  • [3] VWJ2JL63 Adding a `pijul dependents` command to list the transitive closure of the reverse dependency relation
  • [4] IQ7VWYOK Listing dependents of the root change

Change contents

  • replacement in pijul/src/commands/dependents.rs at line 41
    [3.1107][2.496:569](),[2.569][3.1484:1582](),[3.1484][3.1484:1582]()
    if let Some(h) = txn.reverse_log(&*channelr, None)?.next() {
    (h?.1).0.into()
    } else {
    return Ok(());
    }
    [3.1107]
    [3.1582]
    return Ok(());