Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add snap command #124

Merged
merged 9 commits into from
Oct 20, 2020
Merged

Conversation

aizatazhar
Copy link

Closes #121

snap command creates a snapshot of the current address book and saves it as a json file with the user specified file name

@aizatazhar aizatazhar added this to the v1.3 milestone Oct 20, 2020
@codecov
Copy link

codecov bot commented Oct 20, 2020

Codecov Report

Merging #124 into master will decrease coverage by 0.42%.
The diff coverage is 57.50%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #124      +/-   ##
============================================
- Coverage     71.38%   70.96%   -0.43%     
- Complexity      423      434      +11     
============================================
  Files            74       76       +2     
  Lines          1342     1381      +39     
  Branches        133      137       +4     
============================================
+ Hits            958      980      +22     
- Misses          343      359      +16     
- Partials         41       42       +1     
Impacted Files Coverage Δ Complexity Δ
...va/seedu/address/logic/commands/DeleteCommand.java 100.00% <ø> (ø) 9.00 <0.00> (ø)
.../seedu/address/logic/parser/ZooKeepBookParser.java 84.21% <0.00%> (-4.68%) 12.00 <0.00> (ø)
src/main/java/seedu/address/model/Model.java 100.00% <ø> (ø) 1.00 <0.00> (ø)
src/main/java/seedu/address/model/ZooKeepBook.java 91.66% <ø> (ø) 12.00 <0.00> (ø)
...c/main/java/seedu/address/model/animal/Animal.java 97.50% <ø> (ø) 18.00 <0.00> (ø)
src/main/java/seedu/address/model/animal/Name.java 80.00% <ø> (ø) 6.00 <0.00> (ø)
...a/seedu/address/model/animal/UniqueAnimalList.java 92.68% <ø> (ø) 20.00 <0.00> (ø)
...java/seedu/address/logic/commands/SnapCommand.java 51.72% <51.72%> (ø) 6.00 <6.00> (?)
.../seedu/address/logic/parser/SnapCommandParser.java 77.77% <77.77%> (ø) 5.00 <5.00> (?)
.../java/seedu/address/logic/commands/AddCommand.java 100.00% <100.00%> (ø) 8.00 <1.00> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 121db53...3071786. Read the comment docs.

@aizatazhar aizatazhar marked this pull request as ready for review October 20, 2020 06:09
@lamlaaaam lamlaaaam merged commit 03ffb6a into AY2021S1-CS2103T-W15-4:master Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a zookeeper, I want to make backups of the animal storage files at various points in time
2 participants