kopia lustrzana https://github.com/micropython/micropython-lib
utarfile: Remove unused function.
rodzic
8fa7dcc9c0
commit
54a527582a
|
@ -12,12 +12,6 @@ REGTYPE = "file"
|
||||||
def roundup(val, align):
|
def roundup(val, align):
|
||||||
return (val + align - 1) & ~(align - 1)
|
return (val + align - 1) & ~(align - 1)
|
||||||
|
|
||||||
def skip(f, size):
|
|
||||||
assert size % 512 == 0
|
|
||||||
buf = bytearray(512)
|
|
||||||
while size:
|
|
||||||
size -= f.readinto(buf)
|
|
||||||
|
|
||||||
class FileSection:
|
class FileSection:
|
||||||
|
|
||||||
def __init__(self, f, content_len, aligned_len):
|
def __init__(self, f, content_len, aligned_len):
|
||||||
|
|
Ładowanie…
Reference in New Issue