Show More
@@ -244,8 +244,7 b' def grep(mctx, x):' | |||
|
244 | 244 | return [f for f in mctx.subset if r.search(mctx.ctx[f].data())] |
|
245 | 245 | |
|
246 | 246 | _units = dict(k=2**10, K=2**10, kB=2**10, KB=2**10, |
|
247 |
M=2**20, MB=2**20, G=2**30, GB=2**30 |
|
|
248 | kiB=10**3, MiB=10**6, GiB=10**9) | |
|
247 | M=2**20, MB=2**20, G=2**30, GB=2**30) | |
|
249 | 248 | |
|
250 | 249 | def _sizetoint(s): |
|
251 | 250 | try: |
@@ -280,9 +279,8 b' def size(mctx, x):' | |||
|
280 | 279 | File size matches the given expression. Examples: |
|
281 | 280 | |
|
282 | 281 | - 1k (files from 1024 to 2047 bytes) |
|
283 | - 1.0kiB (files from 1000 to 1100 bytes) | |
|
284 | 282 | - < 20k (files less than 20480 bytes) |
|
285 |
- >= .5M |
|
|
283 | - >= .5MB (files at least 524288 bytes) | |
|
286 | 284 | - 4k - 1MB (files from 4096 bytes to 1048576 bytes) |
|
287 | 285 | """ |
|
288 | 286 |
General Comments 0
You need to be logged in to leave comments.
Login now