We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
duplicated_inode
1 parent 9bb7a7e commit 79f73a7Copy full SHA for 79f73a7
1 file changed
src/hardlink/hardlink_list/reflection.rs
@@ -128,6 +128,10 @@ pub enum ConversionError {
128
}
129
130
impl ConversionError {
131
+ /// Convenient function to convert an [`InodeKey`] into a [`ConversionError::DuplicatedInode`].
132
+ ///
133
+ /// We don't embed [`InodeKey`] directly into [`ConversionError::DuplicatedInode`] because of
134
+ /// their difference in visibility: One is private, the other public.
135
fn duplicated_inode(InodeKey { ino, dev }: InodeKey) -> Self {
136
ConversionError::DuplicatedInode(ino, dev)
137
0 commit comments