Michal Privoznik b9b664c5a8 util: Introduce virFileRewriteStr
There are couple of places where we have a string and want to
save it to a file. Atomically. In all those places we use
virFileRewrite() but also implement the very same callback which
takes the string and write it into temp file. This makes no
sense. Unify the callbacks and move them to one place.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-12-06 13:33:18 +01:00
..
2016-06-16 06:17:58 -04:00
2016-11-23 12:08:15 -05:00
2016-11-23 12:08:15 -05:00
2016-02-11 11:35:02 +01:00
2015-07-10 11:47:13 +02:00
2016-06-16 13:09:19 -04:00
2016-12-06 13:33:18 +01:00
2016-12-06 13:33:18 +01:00
2016-04-20 12:46:48 +02:00
2016-08-02 14:20:31 +02:00
2016-08-02 14:20:31 +02:00
2016-11-23 12:08:15 -05:00
2016-10-13 17:58:56 +08:00
2014-10-22 13:09:49 +01:00
2016-03-18 09:43:45 +01:00
2016-07-28 08:27:13 -04:00
2016-07-28 08:27:13 -04:00
2015-04-02 16:05:32 +02:00
2015-04-15 16:43:28 +02:00
2015-03-13 15:31:33 +01:00
2016-10-10 16:08:39 -04:00
2016-04-06 20:27:09 -04:00
2016-11-23 12:08:15 -05:00
2016-06-24 14:20:57 +02:00
2016-02-05 16:11:50 +01:00
2015-03-25 10:00:53 +01:00
2016-11-23 12:08:15 -05:00
2016-05-28 13:49:14 +02:00
2016-06-24 14:20:57 +02:00
2016-12-06 13:33:18 +01:00