Files
freeipa/ipalib
Stanislav Laznicka 364ffd5a0f Fix FileStore.backup_file() not to backup same file
FileStore.backup_file() docstring claimed not to store a
copy of the same file but the behavior of the method did not
match this description.

This commit makes the backed-up file filename derivation
deterministic by hashing its content by SHA-256, thus it
should not back up two files with the same filename and content.

Reviewed-By: Aleksei Slaikovskii <aslaikov@redhat.com>
2018-02-19 14:16:51 +01:00
..
2015-09-01 11:42:01 +02:00
2016-11-24 15:46:40 +01:00
2018-01-09 07:53:28 +01:00
2017-11-21 16:13:28 +01:00
2017-02-17 10:22:07 +01:00
2017-10-25 09:46:41 +02:00
2018-01-31 16:03:19 +01:00
2016-10-20 18:43:37 +02:00