@@ -162,20 +162,19 @@ maxSize
162
162
If set, the size of the underlying file must be below this file size in order
163
163
to be valid. The size of the file can be given in one of the following formats:
164
164
165
- * **bytes **: To specify the ``maxSize `` in bytes, pass a value that is entirely
166
- numeric (e.g. ``4096 ``);
167
-
168
- * **kilobytes **: To specify the ``maxSize `` in kilobytes, pass a number and
169
- suffix it with a "k" (e.g. ``200k ``); 1k = 1,000 bytes;
170
-
171
- * **megabytes **: To specify the ``maxSize `` in megabytes, pass a number and
172
- suffix it with a "M" (e.g. ``4M ``); 1M = 1,000,000 bytes;
173
-
174
- * **kibibytes **: To specify the ``maxSize `` in kibibytes, pass a number and
175
- suffix it with a "Ki" (e.g. ``600Ki ``); 1Ki = 1,024 bytes;
176
-
177
- * **mebibytes **: To specify the ``maxSize `` in mebibytes, pass a number and
178
- suffix it with a "Mi" (e.g. ``8Mi ``); 1Mi = 1,048,576 bytes.
165
+ +--------+-----------+-----------------+------+
166
+ | Suffix | Unit Name | value | e.g. |
167
+ +========+===========+=================+======+
168
+ | | byte | 1 byte | 4096 |
169
+ +--------+-----------+-----------------+------+
170
+ | k | kilobyte | 1,000 bytes | 200k |
171
+ +--------+-----------+-----------------+------+
172
+ | M | megabyte | 1,000,000 bytes | 2M |
173
+ +--------+-----------+-----------------+------+
174
+ | Ki | kibibyte | 1,024 bytes | 32Ki |
175
+ +--------+-----------+-----------------+------+
176
+ | Mi | mebibyte | 1,048,576 bytes | 8Mi |
177
+ +--------+-----------+-----------------+------+
179
178
180
179
For more information about the difference between binary and SI suffixes,
181
180
see `Wikipedia: Binary prefix `_.
0 commit comments