Jelmer Vernooij
|
7920d62bc5
Pass offsets rather than wrapping (and slowing down) mmap.
|
16 years ago |
Jelmer Vernooij
|
a898e40adc
Allow specifying offset to unpack_object.
|
16 years ago |
Jelmer Vernooij
|
86074766c5
Remove pointless size checks on every access of packs.
|
16 years ago |
Jelmer Vernooij
|
87269e0ed6
Merge performance improvements.
|
16 years ago |
Jelmer Vernooij
|
c5e578de19
Skip useless lookup.
|
16 years ago |
Jelmer Vernooij
|
5eab0eaf52
Make checking for objects present a bit faster.
|
16 years ago |
Jelmer Vernooij
|
04e9819075
Make object iterator lazy.
|
16 years ago |
Jelmer Vernooij
|
9e24871f50
Actually use the offset cache.
|
16 years ago |
Jelmer Vernooij
|
d7eee19158
Remove local caching.
|
16 years ago |
Jelmer Vernooij
|
a0ce7ca835
Add LRU cache for objects at offsets.
|
16 years ago |
Jelmer Vernooij
|
b08a2f3d7a
Move resolve_object into PackData.
|
16 years ago |
Jelmer Vernooij
|
eeaaa652fe
Fix test.
|
16 years ago |
Jelmer Vernooij
|
1f82f50332
Add some docstrings.
|
16 years ago |
Jelmer Vernooij
|
f99649c01b
Add docstrings, only determine pack directory once.
|
16 years ago |
Jelmer Vernooij
|
8c226a0afe
Merge formatting fix.
|
16 years ago |
Jelmer Vernooij
|
f2023a22d8
Fix formatting to use 4-character indentation.
|
16 years ago |
Jelmer Vernooij
|
aa596748f9
Close ref file after writing to it.
|
16 years ago |
Jelmer Vernooij
|
31ee91c443
Add iterating object finder.
|
16 years ago |
Jelmer Vernooij
|
a2e76a586d
Mac OS X doesn't have os.fdatasync, use os.fsync instead.
|
16 years ago |
Jelmer Vernooij
|
200721ba8a
Fix crc32 checksums stored in indexes.
|
16 years ago |
Jelmer Vernooij
|
6108cbd2da
Use stored checksum rather than re-calculating.
|
16 years ago |
Jelmer Vernooij
|
ad38ef205d
Always finish writing to disk before calculating checksum.
|
16 years ago |
Jelmer Vernooij
|
514f6627b6
Fix checksum error message.
|
16 years ago |
Jelmer Vernooij
|
d369aec537
Split up get_stored_checksums.
|
16 years ago |
Jelmer Vernooij
|
7c0d0f336d
Improve formatting, docstrings.
|
16 years ago |
Jelmer Vernooij
|
cc4186b191
Add separate exception for checksum mismatches.
|
16 years ago |
Jelmer Vernooij
|
de51dc4883
Release 0.1.1
|
16 years ago |
Jelmer Vernooij
|
a76bcab6b4
Fix typo.
|
16 years ago |
Jelmer Vernooij
|
669105af83
Skip ^{} tags.
|
16 years ago |
Jelmer Vernooij
|
9df270a804
add basic tests for client side.
|
16 years ago |