mnbi / textrepo

A repository to store a note text with a timestamp
MIT License
0 stars 0 forks source link

Repository#update should not update with the same text #28

Closed mnbi closed 4 years ago

mnbi commented 4 years ago

Current implementation of FileSystemRepository#update always update the text in the repository even if the given content is identical to the text. Though the text is essentially unchanged, the timestamp is replaced with the new one. This behavior is weird.

mnbi commented 4 years ago

Fix will be: