Futilities/v0.6/clade/Apps/ftm/Match/@removed

From WoozleCodes
Jump to navigation Jump to search
Removed Code

Commented out on 2026-05-06: Partially rewrote, but now not sure if it's in use.

#
    /**
     * CALLBACK; CEMENT
     * ACTION: copy/verify the file (depending on options)
     */
    public function HandleFile(PairIface $oPair) {
        $onIdent = $oPair->OLinkA->ToNode()->Ident();
        $fn = $onIdent->SpecNameExt();
        $oMatch = $this->NameMatch($fn);
        if ($oMatch->GetIsMatch()) {
            $fsa = $onIdent->GetSpec();
            $fsr = $onIdent->GetPath();
            $this->AddFile($sHash,$fsr);
        }
    }