Skip to content

✨ Only Delete / Write changed files when exporting #436

@SnaveSutit

Description

@SnaveSutit

πŸ›‘ Before you Start

  • I have searched existing feature requests for my feature.
  • I have read the documentation, and I am sure this feature is not already implemented.
  • I am using the latest version of Animated Java.
  • I will only request a single feature in this request. If I have multiple feature requests, I will create a separate request for each one.

πŸ“ Description

Deleting the whole resource pack and data pack, then re-writing them is inefficient.

We can fix this by only deleting / writing files if they're different from the current export.

πŸ’‘ Describe the solution you'd like

Change the .ajmeta file's file lists to a map of file path -> hashed file contents to allow comparison to new files and avoid extra IO operations.

πŸ§ͺ Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions