| 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/events.py
modified: combox/silo.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 shards.
modified: combox/events.py
modified: combox/silo.py
|
|
|
|
|
|
|
| |
This just means, only one damn Thread is allowed to access the DB at a
time.
We are using thread.Lock to achieve this.
|
|
|
|
|
| |
The statement that removes the key from db is now put in a try-catch
f#*king block.
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
- 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
|