[native_assets_builder] Purge old directories
Open
P3
package:hooks_runner
- Dominant language
- Dart
- Stars
- 275
- Forks
- 144
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 47
Description
The native assets builder creates directories in the form of `.dart_tool/native_assets_builder/`. These directories should be purged at some point:
https://github.com/dart-lang/native/blob/4c5fca965acecc0256489c9b0398518629cb9045/pkgs/native_assets_builder/lib/src/build_runner/build_runner.dart#L255
Possible purging strategy:
* `touch` the `config.json` (or a `last_read.json`) every time it's read. And with a 1% chance delete everything that hasn't been read in a week.
Contributor guide
Assessment
This issue has not been assessed yet.