commit | 80f993e8fcb8536158e983ee8b1a0738679cbb28 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Aug 25 20:32:02 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 25 20:32:02 2022 +0000 |
tree | db66af9938f927908c81b76baffb5fde9eb6b649 | |
parent | 266af86f8cfb294e1ddf4c36b8d4f65127863480 [diff] |
pw_tokenizer: Support directory databases in all commands - Add a rewrite option to write_to_file() rewrites rather than just updates the database. For directory databases, this consolidates CSVs to a single file. - Support directory DBs in mark_removed and purge by calling write_to_file(rewrite=True). - Fix the report command for directory databases by checking if the path is a directory when listing the domains. - Update the documentation. Change-Id: I2555ffaf3e5a7f7da546dde39a598af535070e94 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/108215 Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.