Message shown when there is nothing to restore. For a partial restore we must not claim the whole working copy is clean (other paths may still be dirty) — only that the named paths had nothing to restore.
(&self)
| 170 | /// (other paths may still be dirty) — only that the named paths had |
| 171 | /// nothing to restore. |
| 172 | fn nothing_to_restore_message(&self) -> &'static str { |
| 173 | if self.is_partial() { |
| 174 | "Nothing to restore for the specified path(s)" |
| 175 | } else { |
| 176 | "Nothing to restore - working copy is clean" |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | /// Status options used by restore. |
| 181 | /// |
nothing calls this directly
no test coverage detected