new(hash)
Constructor of the class. When creating a new class instance you must provide the type of log: client or
server . For the moment only the client parsing routines are defined.
Log($raw_log)
Get/Set the raw rsync log. With no parameters, the get behaviour is selected. If a parameter is present
(and valid) the method acts as a Set method.
Probes(@probes_list)
Get/Set the raw probes list. If no parameter is present, the method returns the number of probes defined
(0 if none). If a list of probes is given, the list is added to the existing list of probes.
Parse($filename)
Parse a rsync client log. If no filename is specified, the method parses the log previsiously set with
Log() method. Please take extra care with the filename. If it does not exists, or is not a file a
exception will be raised (Param::Wrong and File::Open).
Files()
In scalar context returns the number of transfered files (filtered by probes list). In list context,
returns the list of transfered files.
RealFiles()
In scalar context returns the number of transfered files. In list context, returns the list of transfered
files.
Deleted()
In scalar context returns the number of deleted files (filtered by probes list). In list context, returns
the list of deleted files.
RealDeleted()
In scalar context returns the number of deleted files. In list context, returns the list of deleted
files.
Speed()
Returns the speed (as reported by rsync [in bytes/sec]) of the transfer.
Size()
Returns the size of the synced content.
TransfData()
Returns the total number of bytes transfered during the sync session
Symlinks()
In scalar context returns the number of symlinks (filtered by probes list). In list context, returns the
list of symlinks.
RealSymlinks()
In scalar context returns the number of symlinks. In list context, returns the list of symlinks.