Skip to content

[native_assets_builder] Purge old directories #1353

@dcharkes

Description

@dcharkes

The native assets builder creates directories in the form of .dart_tool/native_assets_builder/<some-hash-of-the-config>. These directories should be purged at some point:

// TODO(https://dartbug.com/50565): Purge old or unused folders.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions