Helper function to create a new `CommitDescription`.
(message: &str)
| 113 | |
| 114 | /// Helper function to create a new `CommitDescription`. |
| 115 | pub fn commit(message: &str) -> CommitDescription { |
| 116 | CommitDescription { |
| 117 | message: message.to_owned(), |
| 118 | ..Default::default() |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | /// Create a new git repo in a temporary directory with contents described by the |
| 123 | /// `root` commit and its children. When done if `checkout_when_done` is not `None` |
no outgoing calls