Futilities/human/lib/caMatchStandard: Difference between revisions
< Futilities | human | lib
Jump to navigation
Jump to search
No edit summary |
(→Object) |
||
Line 11: | Line 11: | ||
* <code>protected function IsIgnorable(string $fn) : bool </code> | * <code>protected function IsIgnorable(string $fn) : bool </code> | ||
==Object== | ==Object== | ||
MatchRes is the result of | MatchRes 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 SetMatchRes({{l/same|cMatchResult}} $o) { $this->omRes = $o; }</code> | * <code>protected function SetMatchRes({{l/same|cMatchResult}} $o) { $this->omRes = $o; }</code> | ||
* <code>protected function GetMatchRes() : {{l/same|cMatchResult}} { return $this->omRes; }</code> | * <code>protected function GetMatchRes() : {{l/same|cMatchResult}} { return $this->omRes; }</code> |
Revision as of 22:01, 24 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
MatchRes 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 SetMatchRes(cMatchResult $o) { $this->omRes = $o; }
protected function GetMatchRes() : cMatchResult { return $this->omRes; }