about summary refs log tree commit diff
path: root/src/history.rs
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2021-10-01 10:52:46 +0200
committerMel <einebeere@gmail.com>2021-10-01 10:52:46 +0200
commitc98563032c0d71ba83e1b77e5aab21c2a5f6a4c0 (patch)
tree83e28688af439b312ce7d7a878cd70b92942b3e4 /src/history.rs
parent3f5c5026909af023c8a3885a4a3d97c669302c1b (diff)
downloadka-c98563032c0d71ba83e1b77e5aab21c2a5f6a4c0.tar.zst
ka-c98563032c0d71ba83e1b77e5aab21c2a5f6a4c0.zip
Only shift files which would be affected.
Diffstat (limited to 'src/history.rs')
-rw-r--r--src/history.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/history.rs b/src/history.rs
index c474143..72640b6 100644
--- a/src/history.rs
+++ b/src/history.rs
@@ -34,6 +34,10 @@ impl RepositoryHistory {
         Ok(())
     }
 
+    pub fn get_changes(&self) -> &Vec<RepositoryChange> {
+        &self.changes
+    }
+
     pub fn add_change(&mut self, change: RepositoryChange) {
         self.changes.push(change);
     }