Making a few "raw" helper functions (from libpijul::pristine) public, in order to help with exotic implementations of the base traits

pmeunier
May 5, 2022, 8:55 AM
L22MO3HVHTJ4QSTWXHZZXSLFMVKFHBNPWTUYTYIP4TQQFVEJLQVQC

Dependencies

  • [2] RRCSHAYZ Formatting
  • [3] 2RXOCWUW Making libpijul deterministic (and getting rid of `rand`)
  • [4] 5BRU2RRW Cleanup (debugging a crash related to trees/inodes)
  • [5] GHO6DWPI Refactoring iterators
  • [6] IVFOZZFZ Don't add a file to revtree if we didn't add it to tree
  • [7] I52XSRUH Massive cleanup, and simplification
  • [8] 5OGOE4VW Store the current channel in the pristine
  • [9] ZDK3GNDB Tag transactions (including a massive refactoring of errors)
  • [10] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump
  • [11] VO5OQW4W Removing anyhow in libpijul
  • [12] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).

Change contents

  • replacement in libpijul/src/pristine/mod.rs at line 1893
    [3.50091][3.74977:75028]()
    pub(crate) fn put_inodes_with_rev<T: TreeMutTxnT>(
    [3.50091]
    [3.50138]
    pub fn put_inodes_with_rev<T: TreeMutTxnT>(
  • replacement in libpijul/src/pristine/mod.rs at line 1903
    [3.1530][3.75070:75121]()
    pub(crate) fn del_inodes_with_rev<T: TreeMutTxnT>(
    [3.1530]
    [3.1577]
    pub fn del_inodes_with_rev<T: TreeMutTxnT>(
  • replacement in libpijul/src/pristine/mod.rs at line 1916
    [3.1846][3.75165:75214]()
    pub(crate) fn put_tree_with_rev<T: TreeMutTxnT>(
    [3.1846]
    [3.1891]
    pub fn put_tree_with_rev<T: TreeMutTxnT>(
  • replacement in libpijul/src/pristine/mod.rs at line 1927
    [3.50333][3.75256:75305]()
    pub(crate) fn del_tree_with_rev<T: TreeMutTxnT>(
    [3.50333]
    [3.2099]
    pub fn del_tree_with_rev<T: TreeMutTxnT>(
  • replacement in libpijul/src/fs.rs at line 73
    [3.30675][2.3453:3501]()
    pub(crate) fn create_new_inode<T: TreeMutTxnT>(
    [3.101939]
    [2.3501]
    pub fn create_new_inode<T: TreeMutTxnT>(