GoLang rpm_close

request it (382)
GoLang replacement for PHP's rpm_close [edit | history]



Do you know a GoLang replacement for PHP's rpm_close? Write it!

PHP rpm_close

PHP original manual for rpm_close [ show | php.net ]

rpm_close

(PECL rpmreader >= 0.1.0)

rpm_closeCloses an RPM file

Description

bool rpm_close ( resource $rpmr )

rpm_close() will close an RPM file pointer.

Parameters

rpmr

A file pointer resource successfully opened by rpm_open().

Return Values

Returns TRUE on success or FALSE on failure.

Examples

Example #1 rpm_close() example

<?php

$file 
"/path/to/file.rpm";
$rpmr rpm_open($file);

rpm_close($rpmr);

?>

See Also