Futilities/human/lib/caMatchStandard: Difference between revisions
< Futilities | human | lib
Jump to navigation
Jump to search
(Created page with "{{fmt/title|Human Futilities: <code>caMatchStandard</code> class}} {| class=wikitable |- | {{l/same|caMatch}} ← {{l/same|caMatchStandard}} |} ==Conditions: API== * <code>...") |
(→Object) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
* <code>protected function IsIgnorable(string $fn) : bool </code> | * <code>protected function IsIgnorable(string $fn) : bool </code> | ||
==Object== | ==Object== | ||
TextMatch is the result of searching file contents for matches to the requested content-mask. If no such search is performed, this will not be set. (Might need to add a HasMatchRes() function.) | |||
* <code>protected function | * <code>protected function SetTextMatch({{l/same|cMatchResult}} $o) { $this->omRes = $o; }</code> | ||
* <code>protected function | * <code>protected function GetTextMatch() : {{l/same|cMatchResult}} { return $this->omRes; }</code> | ||
Latest revision as of 12:44, 25 September 2022
|
Human Futilities:
caMatchStandard class |
| caMatch ← caMatchStandard |
Conditions: API
public function IsFolderWanted(caPathNamed $of) : boolpublic function IsFileWanted(caPathNamed $of) : bool
Conditions: Sub
protected function FileMatch(caPathNamed $of) : cMatchResultprotected function IsIgnorable(string $fn) : bool
Object
TextMatch is the result of searching file contents for matches to the requested content-mask. If no such search is performed, this will not be set. (Might need to add a HasMatchRes() function.)
protected function SetTextMatch(cMatchResult $o) { $this->omRes = $o; }protected function GetTextMatch() : cMatchResult { return $this->omRes; }