mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 09:48:56 +00:00
94e051c1f0
darcs was dying trying to deal with the conflict resolution patches. this adds a (very rough) bucketstore and storageserver. probably needs lots of work both in api and implementation.
8 lines
130 B
Python
8 lines
130 B
Python
from base64 import b32encode, b32decode
|
|
|
|
def b2a(i):
|
|
return b32encode(i).lower()
|
|
|
|
def a2b(i):
|
|
return b32decode(i.upper())
|