Skip to main content

same_tree

Function same_tree 

Source
pub fn same_tree(left: &Path, right: &Path) -> Result<bool, RecoveryError>
Expand description

What: Whether two directory trees hold the same regular files with the same bytes, and are not empty. Why: sameTree: the sequencer is removed only while it is exactly the copied state.

In TS you’d write (pseudocode):

async function sameTree({ left, right }): Promise<boolean>;