Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Check if new output would be identical to existing file before overwriting #28

Open
vokal-isaac opened this issue Oct 14, 2015 · 2 comments

Comments

@vokal-isaac
Copy link
Contributor

This won't save much time, but it will mean that the output file won't "change" (have a new mod time) from running cat2cat on the same input.

@designatednerd
Copy link
Contributor

This would basically just be reading the existing file in and comparing the strings, right?

@vokal-isaac
Copy link
Contributor Author

That's my first thought on how to implement it... well, except that we might be rendering straight to the file and not creating the string in-memory.

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

No branches or pull requests

2 participants