Re: mask_list class
Denis Corbin <[email protected]> Sat, 28 Jan 2006 13:55:05 +0100
| Newsgroups | gmane.comp.sysutils.backup.dar.general |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wesley Leggette wrote: | Denis, Hello, | | Regarding the mask_list object, what type of match is done for each | entry? string comparison without any mask expansion (this is expected to be the result of a find command for example). |Is it equivalent to many simple masks, no simple_mask uses the glob expressions ~ simple path masks, no simple_path_masks are true whether the argument is a subdir of the mask or the mask is a subdir of the argument ~ or same | masks? Well it is quite like same_path_mask (string comparison) but it has the difference to accept absolute paths in the file listing. The mask_list constructor thus receive a prefix to append to relative paths for comparison. This prefix should be chosen equal to the value given as to the fs_root argument given to archive's method. | | Thanks, | Wesley | | You are welcome, Denis. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD22mppC5CI8gYGlIRApQUAJ43xnaZSHxU9Jx/ZH8wwnzAIOtE5gCfeu/a ikeqlpca4HJKcYyC3aKzflI= =YwK2 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642