KIWIUtil Info


Public methods


expandFilename

This method receives a pair of (path, pattern) containing a regular expression for a filename (e.g. ".*\.[rs]pm") set by the caller. The method returns a list of files matching the pattern as full URI. This method works for both HTTP(S) and FTP.

Defined on line: 299

Called in

expandFilenameHTTP

Does the concrete work of "expandFilename" for a http/ftp type connection. No need for further safety checks, those have been handled by the surrounding method before. CAUTION: For the reason mentioned above, please consider this method "private" :)

Defined on line: 339

Called in

expandFilenameLocal

Does the concrete work of "expandFilename" for local filesystem. No need for further safety checks, those have been handled by the surrounding method before. CAUTION: For the reason mentioned above, please consider this method "private" :)

Defined on line: 392

Called in

findCallback

Missing

Defined on line: 416

new

Missing

Defined on line: 34

Called in

normaliseDirname

Create a name without slashes, colons et cetera, replace all funny characters by dots and thus create a string which can be used as directory name. ------------------------------------------ Parameters: $this - reference to the object for which it is called $dirname - the RAW name, in the usual case an URL $sepchar - the character that shall be used for token separation Defaults to `.' if omitted. Returns: a string consisting of letter tokens separated by dots

Defined on line: 530

Called in

set_anob

Missing

Defined on line: 449

set_intersect

Missing

Defined on line: 431

splitPath

does some plausibility checks and then calls the protocol dependent method (which may omit the checks) This method receives a pair of (hostname, path) containing arbitrary regular expressions as parameters. It creates a list of pathnames that match the expressions. Depending on the "leafonly" parameter it returns only paths mathing the *whole* expression (leafonly==0) or any part in between (leafonly==1). The call depends on how the repo is structured. The result list has to be defined elsewhere before the call and contains the directories after the caol.

Defined on line: 55

Called in

splitPathHTTP

This method receives a pair of (hostname, path) containing arbitrary regular expressions as parameters. It creates a list of pathnames that match the expressions. Depending on the "leafonly" parameter it returns only paths mathing the *whole* expression (leafonly==0) or any part in between (leafonly==1). The call depends on how the repo is structured.

Defined on line: 127

Called in

splitPathLocal

This method receives a local path containing arbitrary regular expressions as parameters. It creates a list of pathnames that match the expressions. Depending on the "leafonly" parameter it returns only paths mathing the *whole* expression (leafonly==0) or any part in between (leafonly==1). The call depends on how the repo is structured.

Defined on line: 238

Called in

unify

Missing

Defined on line: 467

unpac_package

implementation of the pac_unpack script of the SuSE autobuild team original: /mounts/work/src/bin/tools/pac_unpack -------------------------------------- params $this - class name; always call as member $p_uri - uri of the rpm file to unpack $dir - target dir for the unpacking, created if necessary

Defined on line: 476

Called in