1 Commits

Author SHA1 Message Date
liloman
a8e52626ef Swap sqlite cursor with dictionary and set data structures (#24)
1. Use 2 new data structures:
-paths (set) contains all the files in the actual filesystem
-hashes (dictionary) substitute the sqlite query with dict[hash] = set(db paths)

2. Minimal unitary tests created with bats (bash script)

See https://github.com/ambv/bitrot/issues/23 for details.
2017-03-03 10:16:46 -08:00