Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
raincity committed Nov 21, 2023
2 parents 9e5b9d5 + be7861d commit 6b8be8c
Show file tree
Hide file tree
Showing 17 changed files with 961 additions and 205 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/target
coverage

tback
3 changes: 2 additions & 1 deletion .test-replica/config/run-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ files = [
"tests/file1.txt",
"tests/file2.txt",
"tests/big-file.pdf",
"tests/changed-file.txt",
]
dbfile = ".test-replica/data/files.json"
dbfile = ".test-replica/data/run2-file.json"
compress = false
encrypt = false
15 changes: 15 additions & 0 deletions .test-replica/config/run1-config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name = "test-run-replica"
version = "0.1.1"
home = "./"
logging_config = ".test-replica/config/console.yaml"
targets = ["tback"]
source_folders = [ "tests/.config" ]
files = [
"tests/file1.txt",
"tests/file2.txt",
"tests/big-file.pdf",
"tests/changed-file.txt",
]
dbfile = ".test-replica/data/run1-file.json"
compress = false
encrypt = false
47 changes: 47 additions & 0 deletions .test-replica/data/run1-file.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[
{
"key": "gfl27msaerQYZ1Vy",
"path": "tback/./tests/.config/file1.txt",
"hash": "",
"len": 0,
"modified": 0,
"last_saved": null,
"written_to": []
},
{
"key": "9x2h7msaerQZU733",
"path": "tback/./tests/.config/file2.txt",
"hash": "",
"len": 0,
"modified": 0,
"last_saved": null,
"written_to": []
},
{
"key": "p4qg7msaerQPepHa",
"path": "tback/./tests/big-file.pdf",
"hash": "",
"len": 0,
"modified": 0,
"last_saved": null,
"written_to": []
},
{
"key": "XuZ57msaerQLJtwC",
"path": "tback/./tests/file1.txt",
"hash": "",
"len": 0,
"modified": 0,
"last_saved": null,
"written_to": []
},
{
"key": "sSzd7msaerQPXcfy",
"path": "tback/./tests/file2.txt",
"hash": "",
"len": 0,
"modified": 0,
"last_saved": null,
"written_to": []
}
]
Loading

0 comments on commit 6b8be8c

Please sign in to comment.