GLib.Checksum.prototype.copy
function copy(): GLib.Checksum {
// Gjs wrapper for g_checksum_copy()
}
Copies a GLib.Checksum. If checksum has been closed, by calling GLib.Checksum.prototype.get_string or GLib.Checksum.get_digest, the copied checksum will be closed as well.
Since 2.16
- Returns
the copy of the passed GLib.Checksum. Use GLib.Checksum.prototype.free when finished using it.