Futilities/human/lib/caMatchStandard: Difference between revisions
< Futilities | human | lib
Jump to navigation
Jump to search
(→Object) |
(→Object) |
||
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) : bool
public function IsFileWanted(caPathNamed $of) : bool
Conditions: Sub
protected function FileMatch(caPathNamed $of) : cMatchResult
protected 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; }