Skip to content

Commit fdea369

Browse files
committed
docs: I have decided that I don't care
There's just too many ways to create invalid tree (such as implementing a custom trait incorrectly for example) that it's not worth the efforts
1 parent f522308 commit fdea369

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/hardlink/deduplicate.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
use crate::{data_tree::DataTree, os_string_display::OsStringDisplay, size};
22

3-
// TODO:
4-
// Problem: It is possible for the users to call deduplicate twice on 1 data tree, which is unsound.
5-
// Potential solution #1: Consider adding the data tree to the deduplication record as hidden field until it is processed.
6-
// Potential solution #2: Perhaps the deduplication should be done in FsTreeBuilder itself.
7-
83
/// Ability to correct the sizes in a [`DataTree`] by reducing the size of recorded shared links.
94
///
105
/// The input tree is assumed to be not yet deduplicated.

0 commit comments

Comments
 (0)