| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
os.remove()ing it.
|
|
|
|
|
|
| |
hash_file function returns the SHA512 hash of the file's content.
The test for the hash_file function is at tests/file_test.py
|
|
|
|
|
|
|
|
|
|
|
|
| |
modified: combox/cbox.py
modified: combox/config.py
modified: combox/crypto.py
modified: combox/events.py
modified: combox/file.py
modified: tests/config_test.py
modified: tests/crypto_test.py
modified: tests/events_test.py
modified: tests/file_test.py
|
|
|
|
|
| |
the fix: the shards don't have to be renamed when the directory under
which they're located is renamed/moved.
|
|
|
|
|
|
|
| |
- rm_nodedir
- move_nodedir
- rm_shards
- move_shards
|
|
|
|
|
|
| |
relative_path: returns relative path of directory or file w. r. t combox directory.
mk_nodedir: creates a directory inside all node directories
purge_dir: (1) purges a file or (2) purges everything inside a directory (except itself).
|
| |
|
|
|
|
|
|
|
|
|
| |
Tests were accordingly modded and now use the test config.yaml to
split and write shards to dirs.
modified: combox/file.py
modified: tests/crypto_test.py
modified: tests/file_test.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests were removed. will write tests using `nose` later.
renamed: combox/file.py -> combox/combox.py
deleted: combox/config.py
deleted: combox/crypto.py
renamed: tests/test_config.py -> tests/combox_tests.py
deleted: tests/files/the-red-star.jpg
deleted: tests/test_crypto.py
deleted: tests/test_file.py
|
|
|
|
|
| |
modified: file.py
modified: tests/test_file.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
glue_data
split_data: reads a string or a stream of bytes and splits them into `n' parts.
glue_data: reads an array of strings / stream of bytes and glues them into one string / stream of bytes.
read_file: reads content from file and returns it.
---
"Python has been an important part of Google since the beginning, and
remains so as the system grows and evolves. Today dozens of Google
engineers use Python, and we're looking for more people with skills in
this language." said Peter Norvig, director of search quality at
Google, Inc.
---
Google has employed a Gingrich-era Republican as its head lobbyist in
DC. Now, Google is effectively helping Comcast kill the Internet as we
know it, and end "Net Neutrality" forever. -- SumOfUs.org
Sign a petition to ask Google to stand up for Net Neutrality:
http://action.sumofus.org/a/googlesupportnn/
|
|
utils/ directory deleted now.
|