Rewite caching in local::unix
module
#1457
44.63% of diff hit (target 91.82%)
View this Pull Request on Codecov
44.63% of diff hit (target 91.82%)
Annotations
Check warning on line 23 in src/offset/local/tz_info/timezone.rs
codecov / codecov/patch
src/offset/local/tz_info/timezone.rs#L23
Added line #L23 was not covered by tests
Check warning on line 32 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L32
Added line #L32 was not covered by tests
Check warning on line 88 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L88
Added line #L88 was not covered by tests
Check warning on line 91 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L91
Added line #L91 was not covered by tests
Check warning on line 102 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L98-L102
Added lines #L98 - L102 were not covered by tests
Check warning on line 123 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L119-L123
Added lines #L119 - L123 were not covered by tests
Check warning on line 134 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L129-L134
Added lines #L129 - L134 were not covered by tests
Check warning on line 142 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L138-L142
Added lines #L138 - L142 were not covered by tests
Check warning on line 148 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L144-L148
Added lines #L144 - L148 were not covered by tests
Check warning on line 150 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L150
Added line #L150 was not covered by tests
Check warning on line 152 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L152
Added line #L152 was not covered by tests
Check warning on line 156 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L154-L156
Added lines #L154 - L156 were not covered by tests
Check warning on line 165 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L163-L165
Added lines #L163 - L165 were not covered by tests
Check warning on line 168 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L167-L168
Added lines #L167 - L168 were not covered by tests
Check warning on line 172 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L172
Added line #L172 was not covered by tests
Check warning on line 174 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L174
Added line #L174 was not covered by tests
Check warning on line 200 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L194-L200
Added lines #L194 - L200 were not covered by tests
Check warning on line 207 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L203-L207
Added lines #L203 - L207 were not covered by tests
Check warning on line 215 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L210-L215
Added lines #L210 - L215 were not covered by tests
Check warning on line 222 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L218-L222
Added lines #L218 - L222 were not covered by tests
Check warning on line 231 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L231
Added line #L231 was not covered by tests
Check warning on line 241 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L237-L241
Added lines #L237 - L241 were not covered by tests
Check warning on line 244 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L243-L244
Added lines #L243 - L244 were not covered by tests
Check warning on line 249 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L247-L249
Added lines #L247 - L249 were not covered by tests
Check warning on line 257 in src/offset/local/unix.rs
codecov / codecov/patch
src/offset/local/unix.rs#L252-L257
Added lines #L252 - L257 were not covered by tests