Skip to content

Commit 91a802e

Browse files
committed
feat(api): add some aliases
1 parent f679ea6 commit 91a802e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/hardlink/record.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,8 @@ pub trait RecordHardlinks<Size, Reporter: ?Sized> {
3030
/// Perform hardlinks detection and recording.
3131
fn record_hardlinks(&self, argument: RecordHardlinksArgument<Size, Reporter>);
3232
}
33+
34+
/// Do detect and record hardlinks.
35+
pub type Do<'a, Size> = super::HardlinkAware<'a, Size>;
36+
/// Do not detect nor record hardlinks.
37+
pub type DoNot = super::HardlinkIgnorant;

0 commit comments

Comments
 (0)