Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if generated map file is within size range #7

Closed
boldtrn opened this issue Oct 12, 2017 · 2 comments
Closed

Check if generated map file is within size range #7

boldtrn opened this issue Oct 12, 2017 · 2 comments

Comments

@boldtrn
Copy link
Contributor

boldtrn commented Oct 12, 2017

As mentioned by Ludwig here:
The size check before overwriting was also useful.

The idea is to check the size of the newly generated map compared to the old map. If the new file is smaller by e.g. 10% we would thrown an error.

@devemux86
Copy link
Collaborator

Bash can probably provide such functionality.

@devemux86
Copy link
Collaborator

Creator builds maps without automatically overwriting old ones.
Then checks if new size < 70% old size to reject or keep them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants