File tree 3 files changed +7
-1
lines changed
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ pub struct Link {
29
29
pub bitmaps : Option < link:: Bitmaps > ,
30
30
}
31
31
32
+ #[ allow( dead_code) ]
32
33
pub struct UntrackedCache {
33
34
/// Something identifying the location and machine that this cache is for.
34
35
/// Should the repository be copied to a different machine, the entire cache can immediately be invalidated.
@@ -45,6 +46,7 @@ pub struct UntrackedCache {
45
46
directories : Vec < untracked_cache:: Directory > ,
46
47
}
47
48
49
+ #[ allow( dead_code) ]
48
50
pub struct FsMonitor {
49
51
token : fs_monitor:: Token ,
50
52
/// if a bit is true, the resepctive entry is NOT valid as per the fs monitor.
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ use crate::{
8
8
9
9
pub type Paths = Vec < ResolvePath > ;
10
10
11
+ #[ allow( dead_code) ]
11
12
pub struct ResolvePath {
12
13
/// relative to the root of the repository, or what would be stored in the index
13
14
name : BString ,
@@ -16,6 +17,7 @@ pub struct ResolvePath {
16
17
stages : [ Option < Stage > ; 3 ] ,
17
18
}
18
19
20
+ #[ allow( dead_code) ]
19
21
pub struct Stage {
20
22
mode : u32 ,
21
23
id : ObjectId ,
Original file line number Diff line number Diff line change 1
1
#![ deny( unsafe_code, missing_docs, rust_2018_idioms) ]
2
- #![ allow( missing_docs, dead_code ) ]
2
+ #![ allow( missing_docs) ]
3
3
4
4
use std:: { ops:: Range , path:: PathBuf } ;
5
5
@@ -55,12 +55,14 @@ pub struct State {
55
55
///
56
56
/// Note that on platforms that only have a precisions of a second for this time, we will treat all entries with the
57
57
/// same timestamp as this as potentially changed, checking more thoroughly if a change actually happened.
58
+ #[ allow( dead_code) ]
58
59
timestamp : FileTime ,
59
60
version : Version ,
60
61
entries : Vec < Entry > ,
61
62
/// A memory area keeping all index paths, in full length, independently of the index version.
62
63
path_backing : Vec < u8 > ,
63
64
/// True if one entry in the index has a special marker mode
65
+ #[ allow( dead_code) ]
64
66
is_sparse : bool ,
65
67
66
68
// Extensions
You can’t perform that action at this time.
0 commit comments