One can now write
with special_cased_file("base/dir", "foo.txt") as fh:
do_something(fh)
This makes the code of processJson a bit clearer, and it allows us to
easily add more files that support the special handling comments.
Change-Id: Ia25d0c0d48df1802c5e2123d05345a88b42a2981
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
||
|---|---|---|
| .. | ||
| accessibilityinspector | ||
| aglfn | ||
| cmake | ||
| corelib/qurl-generateTLDs | ||
| edid | ||
| glgen | ||
| gradientgen | ||
| harfbuzz | ||
| includemocs | ||
| integrity | ||
| lexgen | ||
| locale_database | ||
| plugintest | ||
| qfloat16-tables | ||
| unicode | ||
| x86simdgen | ||
| xkbdatagen | ||