| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
This method allows us to track old path and new path of the file which
is being renamed/moved.
modified: combox/silo.py
modified: tests/silo_test.py
|
|
|
|
|
|
|
| |
- Updated tests as usual.
modified: combox/silo.py
modified: tests/silo_test.py
|
|
|
|
|
|
|
|
|
|
|
| |
The method removes information about a file in the category `type_'
where `type_' can be 'file_created', 'file_modified', 'file_removed',
'file_moved'.
Also wrote tests for it :~(
modified: combox/silo.py
modified: tests/silo_test.py
|
|
|
|
|
|
|
|
| |
The main zarking reason for the name is that we might also want to
track directories apart from shards in the node directories.
modified: combox/silo.py
modified: tests/silo_test.py
|
|
|
|
|
|
|
|
| |
modified: combox/cbox.py
modified: combox/events.py
modified: combox/silo.py
modified: tests/events_test.py
modified: tests/silo_test.py
|
|
|
|
|
|
|
|
| |
These methods will be used to manage the dictionaries in the db
related to the zarking shards.
modified: combox/silo.py
modified: tests/silo_test.py
|
|
|
|
|
|
|
|
| |
- the arg `fhash' is set to None by default.
- if `fhash' is not None, it is considered as file's current hash.
modified: combox/silo.py
modified: tests/silo_test.py
|
|
|
|
|
|
|
|
| |
modified: tests/config_test.py
modified: tests/crypto_test.py
modified: tests/events_test.py
modified: tests/file_test.py
modified: tests/silo_test.py
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests/shard-dir-1) in the teardown method.
modified: tests/config_test.py
modified: tests/crypto_test.py
modified: tests/events_test.py
modified: tests/file_test.py
modified: tests/silo_test.py
deleted: tests/shard-dir-0/.foo
deleted: tests/shard-dir-1/.foo
|
|
|
|
| |
Now the test is in a Test class with proper setup and teardown methods.
|
|
- Contains the ComboxSilo class which provides an interface to access
the db that stores information about files in the combox directory.
Tests for this module is at tests/silo_test.py
|