Status options used by restore. Restore only ever touches *tracked* dirty files (Modified / Deleted / Added), so we skip the (potentially expensive) untracked-file scan.
()
| 186 | /// Restore only ever touches *tracked* dirty files (Modified / Deleted / |
| 187 | /// Added), so we skip the (potentially expensive) untracked-file scan. |
| 188 | fn status_options() -> StatusOptions { |
| 189 | StatusOptions { |
| 190 | include_untracked: false, |
| 191 | ..StatusOptions::default() |
| 192 | } |
| 193 | } |
| 194 | |
| 195 | /// Get the files that need to be restored, paired with their status. |
| 196 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected