Name

Pkg::SourceGeneralData — Get general data about the source

Synopsis

map SourceGeneralData ( integer SrcId );
 

Parameters

integer SrcId

Specifies the InstSrc to query.

Return

map

Description

Return general data about the source as a map:


$[
"enabled"	: YCPBoolean,
"autorefresh": YCPBoolean,
"product_dir": YCPString,
"type"	: YCPString,
"url"	: YCPString (without password, but see SourceURL),
"alias"	: YCPString,
"name"	: YCPString,
"service"	: YCPString, (service to which the repo belongs, empty if there is no service assigned)
"keeppackages" : YCPBoolean,
"is_update_repo" : YCPBoolean, (true if this is an update repo - this requires loaded objects in pool otherwise the flag is not returned! The value is stored in repo metadata, not in .repo file!)
];