Libraries |
|
Rpm extension | Source Code |
|
|
Function Summary | |||||
string |
| ||||
void |
| ||||
rpmPackageType |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
string |
| ||||
integer |
| ||||
void |
| ||||
void |
| ||||
void |
| ||||
integer |
| ||||
void |
| ||||
integer |
| ||||
void |
|
Function Detail |
getPackageType
const func rpmPackageType: getPackageType (in rpmArchive: rpm)
-
Get the package type of a RPM archive.
setPackageType
const proc: setPackageType (inout rpmArchive: rpm, in rpmPackageType: packageType)
-
Set the package type of a RPM archive.
addProvision
const proc: addProvision (inout rpmArchive: rpm, in string: name, in string: version, in integer: flags)
-
Add a provided dependency to a RPM archive.
addRequirement
const proc: addRequirement (inout rpmArchive: rpm, in string: name, in string: version, in integer: flags)
-
Add a required dependency to a RPM archive.
getTagValue
const func string: getTagValue (in rpmArchive: rpm, in integer: tag, attr string)
-
Get a tag value from a RPM archive as string.
getTagValue
const func integer: getTagValue (in rpmArchive: rpm, in integer: tag, attr integer)
-
Get a tag value from a RPM archive as integer.
setTagValue
const proc: setTagValue (inout rpmArchive: rpm, in integer: tag, in string: value)
-
Set the value of tag in a RPM archive to value.
setTagValue
const proc: setTagValue (inout rpmArchive: rpm, in integer: tag, in string: value, in integer: dataType)
-
Set the value of tag in a RPM archive to value with dataType.
setTagValue
const proc: setTagValue (inout rpmArchive: rpm, in integer: tag, in integer: value)
-
Set the value of tag in a RPM archive to value.
getFileFlags
const func integer: getFileFlags (inout rpmArchive: rpm, in string: filePath)
-
Determine the file flags of a file in a RPM archive. The function follows symbolic links.
- Returns:
- the file flags.
- Raises:
- RANGE_ERROR - filePath does not use the standard path representation.
- FILE_ERROR - filePath is not present in the RPM archive, or the chain of symbolic links is too long.
setFileFlags
const proc: setFileFlags (inout rpmArchive: rpm, in string: filePath, in integer: flags)
-
Change the file flags of a file in a RPM archive. The function follows symbolic links.
- Raises:
- RANGE_ERROR - filePath does not use the standard path representation.
- FILE_ERROR - filePath is not present in the RPM archive, or the chain of symbolic links is too long.
getFileFlags
const func integer: getFileFlags (inout rpmArchive: rpm, in string: filePath, SYMLINK)
-
Determine the file flags of a symbolic link in a RPM archive. The function only works for symbolic links and does not follow the symbolic link.
- Returns:
- the file flags.
- Raises:
- RANGE_ERROR - filePath does not use the standard path representation.
- FILE_ERROR - The file described with filePath is not present in the RPM archive, or it is not a symbolic link.
setFileFlags
const proc: setFileFlags (inout rpmArchive: rpm, in string: filePath, in integer: flags, SYMLINK)
-
Set the file flags of a symbolic link in a RPM archive. The function only works for symbolic links and does not follow the symbolic link.
- Raises:
- RANGE_ERROR - filePath does not use the standard path representation.
- RANGE_ERROR - modificationTime is invalid or it cannot be converted to the system file time.
- FILE_ERROR - The file described with filePath is not present in the RPM archive, or it is not a symbolic link.
|
|