- if (out.length > 0) {
- FileUtils.put_contents(minfile, outf);
+ if (outf.length > 0) {
+ FileUtils.set_contents(minfile, outf);
}
public string md5(string str)
{
- return GLib.compute_checksum_for_string(GLib.ChecksumType.MD5, str);
+ return GLib.Checksum.compute_for_string(GLib.ChecksumType.MD5, str);
}