File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,12 +12,10 @@ pub use Summary as SharedLinkSummary;
1212use crate :: { hardlink:: LinkPathList , inode:: InodeNumber , size} ;
1313use dashmap:: DashMap ;
1414use derive_more:: { Display , Error } ;
15+ use pipe_trait:: Pipe ;
1516use smart_default:: SmartDefault ;
1617use std:: { fmt:: Debug , path:: Path } ;
1718
18- #[ cfg_attr( not( unix) , cfg( expect( unused) ) ) ]
19- use pipe_trait:: Pipe ;
20-
2119/// Map value in [`HardlinkList`].
2220#[ derive( Debug , Clone ) ]
2321struct Value < Size > {
@@ -105,7 +103,6 @@ where
105103 Size : size:: Size ,
106104{
107105 /// Add an entry to the record.
108- #[ cfg_attr( not( unix) , cfg( test) ) ] // this function isn't used on non-POSIX except in tests
109106 pub ( crate ) fn add (
110107 & self ,
111108 ino : InodeNumber ,
Original file line number Diff line number Diff line change 11#![ deny( warnings) ]
2+ #![ cfg_attr( not( unix) , allow( unused) ) ]
23
34#[ cfg( feature = "json" ) ]
45pub use serde;
You can’t perform that action at this time.
0 commit comments