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)
| 174 | /// (other paths may still be dirty) — only that the named paths had |
| 175 | /// nothing to restore. |
| 176 | fn nothing_to_restore_message(&self) -> &'static str { |
| 177 | if self.is_partial() { |
| 178 | "Nothing to restore for the specified path(s)" |
| 179 | } else { |
| 180 | "Nothing to restore - working copy is clean" |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | /// Status options used by restore. |
| 185 | /// |
nothing calls this directly
no test coverage detected