]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
Add a byte-spans utility class, like perl's Set::IntSpan for .newsrc files.
authorBrian Warner <warner@lothar.com>
Wed, 4 Aug 2010 07:26:00 +0000 (00:26 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 4 Aug 2010 07:26:00 +0000 (00:26 -0700)
commitcbcb728e7ea0031d25738297f906a7f247fa2f75
treeea15b9ddaccaa4bebda532a49351b55df66efc9d
parentcd360c847c8b35981330cb8cb3d58b55038bccf5
Add a byte-spans utility class, like perl's Set::IntSpan for .newsrc files.
Also a data-spans class, which records a byte (instead of a bit) for each
index.
src/allmydata/test/test_util.py
src/allmydata/util/spans.py [new file with mode: 0755]